The variable / object distinction becomes confusing in [expr.prim.id.unqual]/15
An implicitly movable entity is a variable with automatic storage duration that is either a non-volatile object or an rvalue reference to a non-volatile object type.
How can a variable BE an object or reference? Isn't it just
... a variable with automatic storage duration that iswhose declaration declares either a non-volatile object or an rvalue reference to a non-volatile object type.
See [basic.pre]/7
A variable is introduced by the declaration D of
- a reference other than a non-static data member or
- an object,
where D is not the parameter-declaration of a template-parameter.
It's unclear whether the variable introduced by D is a reference or object, respectively, or these terms are distinct, associated with the same D only.
The variable / object distinction becomes confusing in [expr.prim.id.unqual]/15
How can a variable BE an object or reference? Isn't it just
See [basic.pre]/7
It's unclear whether the variable introduced by D is a reference or object, respectively, or these terms are distinct, associated with the same D only.