Created on 2025-10-24.00:00:00 last changed 1 month ago
Proposed resolution:
This wording is relative to N5014.
Modify [meta.reflection.queries] as indicated:
consteval info dealias(info r);-49- Returns: If `r` represents an entity, then a
Areflection representing the underlying entity of what `r` represents. Otherwise, `r`.[Example 5:
...
— end example]
-50- Throws: `meta::exception` unless `r` represents an entity.
[ Kona 2025-11-08; Status changed: Immediate → WP. ]
[ Kona 2025-11-03; approved by LWG. Status changed: New → Immediate. ]
Several uses of `dealias` assume that it can be used with reflections that represent direct base class relationships, which are not entities. The spec for `dealias` says that such uses should fail with an exception.
In the 2025-10-24 LWG telecon it was agreed that `dealias` should just be the identity function for non-entities.
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2025-11-11 10:48:55 | admin | set | messages: + msg15682 |
| 2025-11-11 10:48:55 | admin | set | status: immediate -> wp |
| 2025-11-04 01:37:18 | admin | set | messages: + msg15488 |
| 2025-11-04 01:37:18 | admin | set | status: new -> immediate |
| 2025-10-24 17:29:37 | admin | set | messages: + msg15417 |
| 2025-10-24 00:00:00 | admin | create | |