C++ Logo

std-discussion

Advanced search

Re: Problem of the type requirement of the regex library

From: Tom Honermann <tom_at_[hidden]>
Date: Sat, 28 Dec 2019 16:29:53 -0500
On 12/24/19 2:47 AM, Xie He via Std-Discussion wrote:
>
> Proposed solution:
>
> In 30.1 [re.general] Paragraph 2, change "char-like template
> arguments" to "template arguments that are integral types that encode
> Unicode code point values, with char_traits<the type> having its
> two-parameter assign, eq and lt functions provide identical results as
> the =, ==, < operators, for all valid code points the type supports".

We can't require Unicode code point values, at least not without it
being a breaking change.

Tom.

Received on 2019-12-28 15:32:22