From patchwork Fri May 1 21:26:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 467142 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id A4D2C140322 for ; Sat, 2 May 2015 07:27:03 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass reason="1024-bit key; unprotected key" header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=nqpia4Bi; dkim-adsp=none (unprotected policy); dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; q=dns; s=default; b=fiPSq+wLrSYabJZh6 MLjfE4cQUv0kEIwk8BfGfmIk5Q/fynOf+3VRAJ92i4UKhMwwMOpF9bE2q48uJ+vi 4OoROcNgyQVSXLR6BJjl2H+P9dIolcIeYMyiuoW6byHpPLM46o8Z4IXSPfAlYfJm Bc2zmni5eY9nvzqra5OzYPsr6Y= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=default; bh=Uoe1WcER9h+AOM/2tRy/FN2 9lbE=; b=nqpia4Bi4agsGE3hsuizd2suAI8J2H5fdBYdDGmcijfQLxrTFXvd5Mj F4KhrAseAxAdtYPSYvXzYpQ3vEv/0zlGjF5jAIWxhWI9jw+pPiZGEPq4N+r8jegW +PI28ntCkH2rkAABc/USd3ZdlGWBxg7VbBWrBz/UOWCMer5lKcDA= Received: (qmail 8304 invoked by alias); 1 May 2015 21:26:44 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 8284 invoked by uid 89); 1 May 2015 21:26:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, SPF_HELO_PASS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 01 May 2015 21:26:43 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t41LQfQL031765 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 1 May 2015 17:26:41 -0400 Received: from localhost (ovpn-116-62.ams2.redhat.com [10.36.116.62]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t41LQeoG028255; Fri, 1 May 2015 17:26:41 -0400 Date: Fri, 1 May 2015 22:26:40 +0100 From: Jonathan Wakely To: Ville Voutilainen Cc: "gcc-patches@gcc.gnu.org" , libstdc++@gcc.gnu.org Subject: Re: [libstdc++ PATCH] Implement observer_ptr Message-ID: <20150501212640.GO3618@redhat.com> References: <20150501210123.GN3618@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20150501210123.GN3618@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) 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 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 class observer_ptr