Feature #1782

Custom literal for upp string

Added by Zbigniew Rebacz almost 7 years ago. Updated over 6 years ago.

Status:RejectedStart date:08/08/2017
Priority:NormalDue date:
Assignee:Miroslav Fidler% Done:


Category:CoreSpent time:-
Target version:Release 2017.2 - NTH


We should allow to create Strings using custom literals. Motivation:

auto myText = "Upp is the best"S; // The end prefix should have appropriate design - i believe we can not use s - it is reserved for std::string.
auto myWideText = "Wide text"WS;


#1 Updated by Miroslav Fidler over 6 years ago

  • Status changed from New to Rejected

This is nonsense. Do not believe Sutter, he is wrong.

String foo = "Something";

auto foo = "Something"S;

Prefering second over first is insanity.

Also available in: Atom PDF