This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [libstdc++ PATCH] Implement observer_ptr
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: Ville Voutilainen <ville dot voutilainen at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, libstdc++ at gcc dot gnu dot org
- Date: Fri, 1 May 2015 22:26:40 +0100
- Subject: Re: [libstdc++ PATCH] Implement observer_ptr
- Authentication-results: sourceware.org; auth=none
- References: <CAFk2RUaT=BzmzQ=e42OjQz4KT9A1dW+xu+5_gkFMX-DGARJQoQ at mail dot gmail dot com> <20150501210123 dot GN3618 at redhat dot com>
On 01/05/15 22:01 +0100, Jonathan Wakely wrote:
On 01/05/15 16:37 +0300, Ville Voutilainen wrote:
Tested on Linux-x64.
Implement observer_ptr.
Thanks! Committed with some minor formatting changes.
I've also committed this to add feature-test macros and update the
docs. Tested powerpc64le-linux, committed to trunk.
Thanks to Ville for pointing out that I put the wrong macro. Doh.
Committed to trunk.
commit f6fdadce0e8362d8ccaf0bdf024e1d9ac73afeaa
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Fri May 1 22:22:19 2015 +0100
* include/experimental/memory: Correct feature-test macro.
diff --git a/libstdc++-v3/include/experimental/memory b/libstdc++-v3/include/experimental/memory
index f43621f..08a6b33 100644
--- a/libstdc++-v3/include/experimental/memory
+++ b/libstdc++-v3/include/experimental/memory
@@ -52,7 +52,7 @@ inline namespace fundamentals_v2
{
_GLIBCXX_BEGIN_NAMESPACE_VERSION
-#define __cpp_lib_experimental_not_fn 201411
+#define __cpp_lib_experimental_observer_ptr 201411
template <typename _Tp>
class observer_ptr