Okay - I concede that
&
would be just as bad as
|
. But the argument, that some OS has command line shells with a similar symbol is a weak argument, IMHO, because C++ programmers come from all walks of life. And either there is or there will be next year or the year after some programming language or environment which uses | as a comment... But for C/C++ people,
&
and
|
already have a fixed meaning. Also, I think this feature should come with compiler support (loop folding) and as such, it could get its own new syntax. —
BitTickler 17 secs ago