This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [libstdc++-v3][C++14] Implement N3654 - Quoted Strings
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Ed Smith-Rowland <3dw4rd at verizon dot net>
- Cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 8 Jun 2013 16:48:33 +0100
- Subject: Re: [libstdc++-v3][C++14] Implement N3654 - Quoted Strings
- References: <51AF8F13 dot 80807 at verizon dot net> <CAH6eHdRWtyCs2G90SYUfX+HswRk9Y2yQ2U9LEDEwOYQ+w0zWXw at mail dot gmail dot com> <51B0A2C8 dot 4060701 at verizon dot net>
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 of the template parm String are either
> references or pointers so these operations should be efficient.
Ahh, I didn't notice that, sorry.