Are call by reference functions of type int or double legal when using an ifstream or ostream argument?
Example:
int afunction(ifstream& in, int anumber)
{
/* Function Body */
}
If this is/isn't legal please explain. Thank you for your help.
-Arielle