Reputation: 68728
In C++11 5.1 Primary Expressions it states:
The type of [an id-expression] is the type of the identifier. The result is the entity denoted by the identifier. The result is an lvalue if the entity is a function, variable, or data member and a prvalue otherwise.
What is an example of an id-expression that is a prvalue?
(That is, what is an example of an id-expression that refers to an entity that is not a function, not a variable and not a data member?)
Upvotes: 2
Views: 395