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: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>, Ed Smith-Rowland <3dw4rd at verizon dot net>
- Cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Date: Fri, 15 Nov 2013 12:50:10 +0100
- 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> <CAH6eHdRFaGKO-6sBhhxip55k65-iS34=_1PWJWCYxBOJ99tB+Q at mail dot gmail dot com>
Hi,
On 11/15/2013 12:18 PM, Jonathan Wakely wrote:
I think the std::hash declaration and specializations should be inside
a _GLIBCXX_BEGIN_NAMESPACE_VERSION / _GLIBCXX_END_NAMESPACE_VERSION
pair, because when using versioned namespaces they will be in
std::__v7 not std.
Normally running check-debug too is useful to double check these details.
Paolo.