given the following simple function declaration:
void foo (std::istream& is);
I can call foo in several ways, for example:
fstream f;
foo(std::cin);
foo(f);
is there any way I can check if the given istream& is standard input ? (STD::CIN)
thanks in advance