Full name of submitter (unless configured in github; will be published with the issue): Jiang An
Reference (section label): [dcl.init.general]
Link to reflector thread (if any):
Issue description:
Related to CWG3089.
In [dcl.init.general] p6.1 and [dcl.init.general] p7.3, we seems to be only special-casing cv-unqualified std::meta::info. Perhaps we should handle cv-qualified versions together.
Suggested resolution:
Modify [dcl.init.general] as indicated:
[...]
(6.1) - if T is (possibly cv-qualified) std::meta::info, the object is initialized to a null reflection value;
[...]
(7.3) - If T is (possibly cv-qualified) std::meta::info, the object is zero-initialized.
[...]
Full name of submitter (unless configured in github; will be published with the issue): Jiang An
Reference (section label): [dcl.init.general]
Link to reflector thread (if any):
Issue description:
Related to CWG3089.
In [dcl.init.general] p6.1 and [dcl.init.general] p7.3, we seems to be only special-casing cv-unqualified
std::meta::info. Perhaps we should handle cv-qualified versions together.Suggested resolution:
Modify [dcl.init.general] as indicated: