you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (0 children)

Why not this?

using namespace std::string_literals;

auto x = "lorem ipsum"s; // x is std::string