can:while( auto x = get() ) stuff(x);can't:while( !(auto x = get()) ) stuff(x);
someone write a proposal ToT
#cpp
it's not for me it's for your eyes, cause the alternative is:while(true) if(auto x = get(); !x) stuff(x);else break;
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.