ios operator() function in C++11 with Examples
The operator() method of ios class in C++11 is used to any error flag of this stream is set. This includes the failbit or the badbit.
explicit operator bool() const;
Parameters: This method does not accept any parameter.
Return Value: This method returns false if any error bit is set of this stream, else true.
No error bit is set.
Error bit is set.
My Personal Notes arrow_drop_up
Please Login to comment...