Re: [libstdc++-v3][C++14] Implement N3654 - Quoted Strings

2013-06-08 Thread Jonathan Wakely
On 8 June 2013 04:44, Ed Smith-Rowland wrote: > > OK, I added a static_assert to check that _String is only reference or > pointer. > I also added a tests that check the case where _String is 'const > basic_string<>&'. > > Built and tested on x86_64-linux. > > OK? This is OK to commit to trunk. Th

Re: [libstdc++-v3][C++14] Implement N3654 - Quoted Strings

2013-06-08 Thread Jonathan Wakely
On 6 June 2013 15:55, Ed Smith-Rowland wrote: > On 06/05/2013 04:01 PM, Jonathan Wakely wrote: >> >> >> _Quoted_string appears to do two copies of the string, one for the >> constructor argument and one for the member variable, do they >> definitely get elided? > > I looks that way. But all used o

Re: [libstdc++-v3][C++14] Implement N3654 - Quoted Strings

2013-06-07 Thread Ed Smith-Rowland
On 06/06/2013 10:55 AM, Ed Smith-Rowland wrote: On 06/05/2013 04:01 PM, Jonathan Wakely wrote: On 5 June 2013 20:18, Ed Smith-Rowland wrote: Greetings, This patch implements quoted string manipulators for C++14. 27.7.6 - Quoted manipulators[quoted.manip]. The idea is to allow round tr

Re: [libstdc++-v3][C++14] Implement N3654 - Quoted Strings

2013-06-06 Thread Ed Smith-Rowland
On 06/05/2013 04:01 PM, Jonathan Wakely wrote: On 5 June 2013 20:18, Ed Smith-Rowland wrote: Greetings, This patch implements quoted string manipulators for C++14. 27.7.6 - Quoted manipulators[quoted.manip]. The idea is to allow round trip insert and extract of strings with spaces.

Re: [libstdc++-v3][C++14] Implement N3654 - Quoted Strings

2013-06-05 Thread Jonathan Wakely
On 5 June 2013 20:18, Ed Smith-Rowland wrote: > Greetings, > This patch implements quoted string manipulators for C++14. > > 27.7.6 - Quoted manipulators[quoted.manip]. > > The idea is to allow round trip insert and extract of strings with spaces. > > std::stringstream ss; > std::string