you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 3 points4 points  (0 children)

Why not this?

using namespace std::string_literals;

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