我以为:
if (true) {execute this statement}
那么if (std::cin >> X)当没有什么"真实"的时候,如何执行为真呢?我能理解,如果它是if ( x <= y)或if ( y [operator] x ),但什么样的逻辑是"的IStream =真的吗?".
if (std::cin >> X)
if ( x <= y)
if ( y [operator] x )
c++ if-statement
c++ ×1
if-statement ×1