Created on 2026-03-25.00:00:00 last changed 5 days ago
Proposed resolution:
This wording is relative to N5032.
Modify [meta.syn] as indicated:
-3- Any function in namespace `std::meta` whose return type is `string_view` or `u8string_view` returns an object `V` such that `V.data()[V.size()]` equals `'\0'`. Each element of the range `V.data()` + [0, `V.size()`] is a potentially non-unique object with static storage duration that is usable in constant expressions ([intro.object], [expr.const]); a pointer to such an element is not suitable for use as a template argument for a constant template parameter of pointer type ([temp.arg.nontype]).
[ Croydon 2026-03-25; move to Immediate. ]
We are missing a statement about the lifetime and other properties of the strings returned from the reflection functions.
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2026-03-25 17:20:05 | admin | set | messages: + msg16088 |
| 2026-03-25 17:20:05 | admin | set | status: new -> immediate |
| 2026-03-25 01:28:00 | admin | set | messages: + msg16063 |
| 2026-03-25 00:00:00 | admin | create | |