Skip to content

char_traits<char8_t> members not all constexpr #2795

Closed
@BoPersson

Description

@BoPersson

The paper P1032 "Misc constexpr bits" added constexpr to all char_traits members, at the same time as P0432 "char8_t: A type for UTF-8 characters and strings" added a new specialization for char_traits<char8_t> (without constexpr).

Depending on the order of applying the papers we could get two different results.

The intention of P1032 surely is that even the new members should be constexpr.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions