C++ Logo

sg10

Advanced search

[SG10] Is __cpp_lib_constexpr_char_traits "official"?

From: Jonathan Wakely <cxx_at_[hidden]>
Date: Fri, 15 Jun 2018 16:30:59 +0100
I don't see it in P0096R5, although
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0426r1.html
recommended it.

It seems to be useful to know whether you can use
char_traits<char>::length() in a constexpr function, or whether you need to
write your own.

Received on 2018-06-15 17:31:22