From patchwork Tue Dec 6 12:49:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 86810 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp1996406qgi; Tue, 6 Dec 2016 04:50:04 -0800 (PST) X-Received: by 10.84.141.1 with SMTP id 1mr135446394plu.133.1481028604291; Tue, 06 Dec 2016 04:50:04 -0800 (PST) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id b1si19322575pge.49.2016.12.06.04.50.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Dec 2016 04:50:04 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-443588-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-return-443588-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-443588-patch=linaro.org@gcc.gnu.org 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=I9q+swIhhUrK995jO OUJ1wGDsEaXEJW5bOTROagcwIdu9u7d4b4nAVbIu3bFWn7gOOoRQRU1jyrY7537P wxYkVSTWdnZ6iI/0shn5UwVib5v7A2FaeQiwwpfK7dJHw4Z7cPSvjUgi+2MAUDIr /e7GLhTBUVXRo4+AcqMn8q0Png= 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=BYhS4TrAtrOVDMHEIE7z4GD hEqk=; b=KtiOyBgiXqg88SCU+ZPGgDv1whs2TfatXbgf8a4iDXUEkjNCU5VhVwt dRSnNy4BYr7BfP2GjjMOYW3fAepaIpH8cbg3lt4UdpeDajBsbwD3sr4yfbe4Nmcb VtEsIZzUYOEA5d0f3KdmI36rrlQdss6kH/HEuS6yekp3X88/bqbg= Received: (qmail 102683 invoked by alias); 6 Dec 2016 12:49:39 -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 102661 invoked by uid 89); 6 Dec 2016 12:49:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=U*timshen, sk:timshen, timshengooglecom, timshen@google.com 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 ESMTP; Tue, 06 Dec 2016 12:49:36 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B953A7F7DB; Tue, 6 Dec 2016 12:49:35 +0000 (UTC) Received: from localhost (ovpn-116-110.ams2.redhat.com [10.36.116.110]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uB6CnYZA028517; Tue, 6 Dec 2016 07:49:35 -0500 Date: Tue, 6 Dec 2016 12:49:34 +0000 From: Jonathan Wakely To: Tim Shen Cc: libstdc++ , gcc-patches Subject: Re: [Patches] Add variant constexpr support for visit, comparisons and get Message-ID: <20161206124934.GK6326@redhat.com> References: <20161130162729.GU3301@redhat.com> <20161206103053.GC6326@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.7.1 (2016-10-04) On 06/12/16 03:52 -0800, Tim Shen wrote: >On Tue, Dec 6, 2016 at 2:30 AM, Jonathan Wakely wrote: >> This looks good - OK for trunk, thanks! > >Committed. > >Thanks! ChangeLog dates fixed by this patch. commit c3651cf0403b826414b8376bb29b4757530f4eec Author: redi Date: Tue Dec 6 12:48:54 2016 +0000 Fix libstdc++-v3/ChangeLog dates git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@243299 138bc75d-0d04-0410-961f-82ee72b054a4 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 47e9abf..b8edb7b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -9,14 +9,14 @@ Guard with #ifndef __cpp_lib_addressof_constexpr. (operator->()): Use std::__addressof if it's constexpr. -2016-11-27 Tim Shen +2016-12-06 Tim Shen * include/std/variant (visit): Make visit constexpr. Also cleanup __get_alternative and __storage, since we don't support reference/void alternatives any more. * testsuite/20_util/variant/compile.cc: Add tests. -2016-12-07 Tim Shen +2016-12-06 Tim Shen * include/bits/enable_special_members.h: Make _Enable_default_constructor constexpr. @@ -24,13 +24,13 @@ std::hash): Sfinae on emplace and std::swap; handle __poison_hash bases of duplicated types. -2016-12-07 Tim Shen +2016-12-06 Tim Shen * include/std/variant (std::get, operator==): Implement constexpr comparison and get<>. * testsuite/20_util/variant/compile.cc: Tests. -2016-12-07 Tim Shen +2016-12-06 Tim Shen * include/std/variant (__erased_use_alloc_ctor, _Variant_base::_Variant_base, variant::variant): Remove uses-allocator