Hey, what do you know, you're right! I'm sorry I made that claim without checking it out. I assumed that as a rvalue it would be evaluated as a function reference, but it's a part of the syntax so it does indeed just error out. Thanks for teaching me something.
4
u/Traubert May 09 '12
That's possible even if print is kept as a keyword too. You can do it in any of the 2.x versions that provide print as a function.