"Mafi" <m...@example.org> wrote in message news:io19ar$47h$1...@digitalmars.com... > Am 12.04.2011 00:31, schrieb Spacen Jasset: >> std::getline(is, line); >> while (line.size() != 0) >> { >> ...some things... >> std::getline(is, line); >> } > > What's wrong with > while( std::getline(is, line), (line.size() != 0) ) { > //... some things > } > > I mean, that's what the comma operator is for.
I'm deathly afraid of the comma operator.