3 ms·
Not that this is necessarily any cleaner, but in C++14 one would write: return "mailto"s + ":"s + name + "@"s + domain; and it would compile fine. (s bein
by axiak 12y ago
Not that this is necessarily any cleaner, but in C++14 one would write:
return "mailto"s + ":"s + name + "@"s + domain;
and it would compile fine. (s being a literal for std::string)
- mikeash 12y agoIt's sad that it can't become the default for "" literals without breaking a ton of code, but I'm glad to see this change.