diff mbox

[libstdc++] Implement observer_ptr

Message ID 20150501212640.GO3618@redhat.com
State New
Headers show

Commit Message

Jonathan Wakely May 1, 2015, 9:26 p.m. UTC
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.
diff mbox

Patch

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