This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3 PATCH] Implement P0403R1, Literal suffixes for basic_string_view.
On 14/11/16 21:23 +0100, François Dumont wrote:
Just a minor issue in several assert messages:
+ static_assert(std::is_same<decltype("Hello"sv), std::string_view>::value,
+ "\"Hello\"s is std::string_view");
should say "\"Hello\"sv is...
Good catch.
I considered using string_view in my recent print_word evolution in debug.cc. With this patch it would be a nicer way to deal with literals.
To do that we'd need to compile that file using -std=gnu++17 but
that's possible.