Note 3.11.1.
Any time you have a question about what is legal or illegal in C++, a good way to find out is to ask the compiler. It will let you answer your question by throwing an error… or not!
newLine
, perform an action but don’t return a value. That raises some questions:
newLine() + 7
?