can:
while( auto x = get() ) stuff(x);
can't:
while( !(auto x = get()) ) stuff(x);

someone write a proposal ToT

Follow

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;

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.