Re: [PATCH][C++11][ PR55582] Let string literals starting with lower-case 's' be a user-defined literal instead of string + macro.

2013-02-13 Thread Jason Merrill
I just noticed this patch. Since it was submitted well before the end of stage 3 and looks quite safe, it's OK to go in for 4.8. Please remember to CC/ping me for C++ patches. Thanks, Jason

Re: [PATCH][C++11][ PR55582] Let string literals starting with lower-case 's' be a user-defined literal instead of string + macro.

2013-02-13 Thread Ed Smith-Rowland
On 02/13/2013 01:40 PM, Jason Merrill wrote: I just noticed this patch. Since it was submitted well before the end of stage 3 and looks quite safe, it's OK to go in for 4.8. Please remember to CC/ping me for C++ patches. Thanks, Jason Applied the following after build and test on

[PATCH][C++11][ PR55582] Let string literals starting with lower-case 's' be a user-defined literal instead of string + macro.

2012-12-05 Thread Ed Smith-Rowland
There is a proposal to add several user-defined literals to the standard library that looks like it will probably go through: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3468.pdf The proposed string literals std::string hw = Hello, world!s; will not parse as a literal in gcc. This