This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Implement N3762 string_view: a non-owning reference to a string.
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Ed Smith-Rowland <3dw4rd at verizon dot net>
- Cc: Daniel Krügler <daniel dot kruegler at gmail dot com>, "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Date: Wed, 20 Nov 2013 21:18:14 +0000
- Subject: Re: Implement N3762 string_view: a non-owning reference to a string.
- Authentication-results: sourceware.org; auth=none
- References: <5285A634 dot 7070907 at verizon dot net> <CAGNvRgDT+f3bvRCJQHnxom43KvXVihPp0v9cUuhoO9jrP8JQ1g at mail dot gmail dot com> <528CC29B dot 1050609 at verizon dot net>
On 20 November 2013 14:09, Ed Smith-Rowland wrote:
>
> Here is a fix that introduces an constexpr unit length string to represent
> empty strings so that refs to empty strings don't point to the ether.
>
>
> Built and tested on x86_64-linux.
>
> OK?
Now that I've read it properly, this is OK, thanks.