Unary operands return rvalues (except *)

Clause / Subclause / Annex: 
5.3.1
Para/Table/Figure: 
2-9
Comment type: 
Te
Comment / justification for change: 

All the unary operands other than * return rvalues – but this is not stated.

Recommended change: 

Add a paragraph 1a “The following unary operators all produce results that are rvalues.”

MB: 
UK

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Agreed. According to a

Agreed.

According to a note in 3.10p4 “The discussion of each built-in operator in Clause 5 indicates whether it expects lvalue operands and whether it yields an lvalue.” so I believe it is important that each operator is clearly specified in terms of lvalue and rvalue.