指示流不是错误的。
bool operator!( ) const;
返回值
返回 失败。
示例
// basic_ios_opbad.cpp
// compile with: /EHsc
#include <iostream>
int main( )
{
using namespace std;
cout << !cout << endl; // Stream is not bad
}
0
要求
页眉: <ios>
命名空间: std
指示流不是错误的。
bool operator!( ) const;
返回 失败。
// basic_ios_opbad.cpp
// compile with: /EHsc
#include <iostream>
int main( )
{
using namespace std;
cout << !cout << endl; // Stream is not bad
}
0
页眉: <ios>
命名空间: std