basic_ios::operator!
스트림 불량 인지 여부를 나타냅니다.
bool operator!( ) const;
반환 값
반환 실패.
예제
// basic_ios_opbad.cpp
// compile with: /EHsc
#include <iostream>
int main( )
{
using namespace std;
cout << !cout << endl; // Stream is not bad
}
요구 사항
헤더: <ios>
네임 스페이스: std