Hi,
I was wondering how I could achieve the syntax like file streams for my classes.
The constructor would set an error flag. This would return true if error_flag == 0.Code:std::fstream fin(sth); if (fin)//?
Should I overload an operator and which (I tried !)?