-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Full name of submitter (unless configured in github; will be published with the issue): Jim X
[basic.pre] p3 says
An entity is a value, object, reference, structured binding, function, enumerator, type, class member, bit-field, template, template specialization, namespace, or pack.
This implies object and bit-field are different entities.
However, [basic.lval] p1.1 says
A glvalue is an expression whose evaluation determines the identity of an object or function.
Lacks the bit-field cases. A glvalue can be a bit-field in the standard.
Suggested resolution:
We might need to strip bit-field from [basic.pre] p3, and admits that a (named)bit-field is an object. Then, in every special rule, we just need to say the bit-field object
Metadata
Metadata
Assignees
Labels
No labels