basic_ios::operator!
Indicates if the stream is not bad.
bool operator!( ) const;
반환 값
Returns fail.
예제
// basic_ios_opbad.cpp
// compile with: /EHsc
#include <iostream>
int main( )
{
using namespace std;
cout << !cout << endl; // Stream is not bad
}
0
요구 사항
Header: <ios>
네임스페이스: std