Title
Status of const std::meta::info
Status
open
Section
6.9.2 [basic.fundamental]
Submitter
Jan Schultke

Created on 2026-06-18.00:00:00 last changed 1 week ago

Messages

Date: 2026-06-22.21:26:03

Possible resolution:

Change in 6.9.2 [basic.fundamental] paragraph 17 as follows:

A value prvalue of type std::meta::info is called a reflection. There exists a unique null reflection; every other reflection is a representation of ...
Date: 2026-06-18.00:00:00

(From submission #924.)

Consider:

  constexpr std::meta::info x;

According to 6.9.2 [basic.fundamental] paragraph 17, the value of x is not a reflection. This does not make sense.

History
Date User Action Args
2026-06-22 21:26:03adminsetmessages: + msg8608
2026-06-18 00:00:00admincreate