[Bug libstdc++/78156] constexpr basic_string_view::basic_string_view(const charT *) calls non-constexpr char_traits::length
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 7 22:12:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78156
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This is not a bug in GCC, and I'm not in favour of complicating things to work
around this limitation. As Daniel said, there is a proposal to make
std::char_traits<char> do the right thing.
More information about the Gcc-bugs
mailing list