Title
"s" UDL suffix should be reserved for a compile-time string library type
Status
nad
Section
[basic.string.literals]
Submitter
Michael Price

Created on 2014-01-18.00:00:00 last changed 131 months ago

Messages

Date: 2014-02-13.05:14:48

[ Issaquah 2014-10-12: Move to NAD ]

We discussed leaving the s UDL suffix for string_view in Portland, and voted strongly in favor of using it for std::string. string is also an extremely widely used type, and the difference is observable in type deduction cases. In addition, a compile-time string is likely to cost significant compile time, which we don't want to make the default with s.

Mark 2355 as NAD?
SFFNASA
8 4020
Date: 2014-01-18.00:00:00

The current draft uses the "s" UDL suffix as a UDL for basic_string<charT> ([basic.string.literals]). In light of EWG active issue 66 (concerning N3599), the "s" suffix (when applied to character string literals) should be reserved for a compile-time string library type.

History
Date User Action Args
2014-02-13 04:55:14adminsetmessages: + msg6829
2014-02-13 04:55:14adminsetstatus: new -> nad
2014-01-18 00:00:00admincreate