Created on 2022-05-07.00:00:00 last changed 27 months ago
[ 2022-08-23 Status changed: Tentatively NAD → NAD. ]
[ 2022-05-17; Reflector poll ]
Set priority to 4 after reflector poll. Six votes for NAD. Changing this would require a proposal through LEWG.
Currently char-like types are defined as non-array trivial and standard-layout types ([strings.general]). However, as far as I know, there is no actual operation specified in the standard or used in implementations requiring a char-like type to be standard-layout (unlike the triviality, which is related to charT(), etc.). Implementations are merely static_assert-ing the standard-layout property of element types.
As the standard library almost never requires a user-provided type to be standard-layout now (other suspicious exceptions are program-defined specializations of std::atomic<T*>), I think char-like types should just be non-array trivial types.History | |||
---|---|---|---|
Date | User | Action | Args |
2022-08-23 13:55:25 | admin | set | messages: + msg12682 |
2022-05-17 11:57:55 | admin | set | messages: + msg12455 |
2022-05-17 11:57:55 | admin | set | status: new -> nad |
2022-05-07 00:00:00 | admin | create |