From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31053 invoked by alias); 14 Oct 2016 16:07:25 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 31037 invoked by uid 89); 14 Oct 2016 16:07:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=H*r:112 X-HELO: simark.ca Received: from simark.ca (HELO simark.ca) (158.69.221.121) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 14 Oct 2016 16:07:22 +0000 Received: by simark.ca (Postfix, from userid 112) id 7D3D41E14E; Fri, 14 Oct 2016 12:07:20 -0400 (EDT) Received: from simark.ca (localhost [127.0.0.1]) by simark.ca (Postfix) with ESMTP id 6CB861E120; Fri, 14 Oct 2016 12:07:19 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 14 Oct 2016 16:07:00 -0000 From: Simon Marchi To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [PATCH v3] Introduce gdb::unique_ptr In-Reply-To: <209d21ef-f3cb-6188-8654-943b2254c9b3@redhat.com> References: <1476448162-20203-1-git-send-email-palves@redhat.com> <209d21ef-f3cb-6188-8654-943b2254c9b3@redhat.com> Message-ID: <4c97e05492f34198bb6cafc860bbdbc8@simark.ca> X-Sender: simon.marchi@polymtl.ca User-Agent: Roundcube Webmail/1.2.0 X-IsSubscribed: yes X-SW-Source: 2016-10/txt/msg00451.txt.bz2 On 2016-10-14 08:50, Pedro Alves wrote: > +struct unique_ptr_nullptr_t > +{ > +private: > + struct private_type; > +public: > + /* Since null_type is private, the only way to construct this class null_type, or private_type?