From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 94116 invoked by alias); 2 Nov 2015 19:20:46 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 94095 invoked by uid 89); 2 Nov 2015 19:20:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: aserp1040.oracle.com Received: from aserp1040.oracle.com (HELO aserp1040.oracle.com) (141.146.126.69) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 02 Nov 2015 19:20:45 +0000 Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id tA2JKg39010733 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 2 Nov 2015 19:20:43 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id tA2JKgKX001346 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 2 Nov 2015 19:20:42 GMT Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by userv0122.oracle.com (8.13.8/8.13.8) with ESMTP id tA2JKcnX030600; Mon, 2 Nov 2015 19:20:39 GMT Received: from [192.168.1.4] (/87.3.196.211) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 02 Nov 2015 11:20:38 -0800 Subject: Re: [v3 PATCH] Make the default constructors of tuple and pair conditionally explicit. To: Ville Voutilainen References: <56377F0B.7070209@oracle.com> Cc: "gcc-patches@gcc.gnu.org" , libstdc++@gcc.gnu.org From: Paolo Carlini Message-ID: <5637B784.6020403@oracle.com> Date: Mon, 02 Nov 2015 19:20:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg00108.txt.bz2 Hi, + template + struct __is_implicitly_default_constructible + : public integral_constant, + __is_implicitly_default_constructible_safe<_Tp> + >::value)> Can we follow the terse style already used elsewhere (eg, __is_direct_constructible_new_safe) thus directly inherit from __and_ and avoid explicit integral_constant? Otherwise patch looks good to me. Thanks, Paolo.