220 7588 <1389104.IyPuZUyp0R@tjmaciei-mobl2> article
Path: news.gmane.org!not-for-mail
From: Thiago Macieira <thiago@macieira.org>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Fixing the private method issue
Date: Mon, 04 Nov 2013 08:22:22 -0800
Lines: 24
Approved: news@gmane.org
Message-ID: <1389104.IyPuZUyp0R@tjmaciei-mobl2>
References: <d5cd9fa5-ac2f-465b-b92d-cf2a35607245@isocpp.org> <1CD4DBEC-8081-42AD-861A-FF87D7E55606@gmail.com> <CAA7U3HNDauFSqR8gLbxk8SbBSMX0e-6zOqKqC1VCu8=9QyBWwA@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: ger.gmane.org 1383582142 581 80.91.229.3 (4 Nov 2013 16:22:22 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 4 Nov 2013 16:22:22 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCB4TK757YBRBQMT36JQKGQE2AQE2QI@isocpp.org Mon Nov 04 17:22:28 2013
Return-path: <std-proposals+bncBCB4TK757YBRBQMT36JQKGQE2AQE2QI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wg0-f70.google.com ([74.125.82.70])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCB4TK757YBRBQMT36JQKGQE2AQE2QI@isocpp.org>)
	id 1VdMv4-0007MF-Hn
	for gclcip-std-proposals@m.gmane.org; Mon, 04 Nov 2013 17:22:26 +0100
Original-Received: by mail-wg0-f70.google.com with SMTP id c11sf3672684wgh.1
        for <gclcip-std-proposals@m.gmane.org>; Mon, 04 Nov 2013 08:22:26 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:to:subject:date:message-id:user-agent
         :in-reply-to:references:mime-version:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe:content-type;
        bh=9MLFmon1zXUCEaJljnlCG4TOxlBj30sBxg7LykHouDY=;
        b=LgmQak76DA+1A1raDtdP8FqKfgXgj22H2HpWDR7TxMXU/Tb4YJsxpRY+zjf6UX1JQi
         RmWIVTpL3aEJu48I0YRQNU5NxlweDdvA235yVsemfqNH4/5+El+JeWH6BxqBzxtf1fO5
         /W4BpgyQah9GjmtZN1nK4yVj781rjKm2oM2iYfCqDwYO9jKpjislNjiDHIo97Z/NJSoG
         uuK/Kb/6aV8ykTJYlXy09w158n+ToTjPsjuxtfmvnuUhYbmY8ckvEFveejbmsxW0Ml7V
         Hz6TcdPywq/p9Ho7cgZNqHBLFwIAOz10l1EdgVs/ac0M8/G+MRY3LD6IjJUyUq/v0jBS
         HjHQ==
X-Gm-Message-State: ALoCoQkYwO8YBqjc27FVFIDofPL2iZHK+3lXE+W+o0WJ8VQfEJab/9utxAnyyvWLKqqlH1RALtgU
X-Received: by 10.180.21.137 with SMTP id v9mr6699002wie.7.1383582145949;
        Mon, 04 Nov 2013 08:22:25 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.180.107.41 with SMTP id gz9ls519311wib.33.gmail; Mon, 04 Nov
 2013 08:22:24 -0800 (PST)
X-Received: by 10.14.95.69 with SMTP id o45mr604213eef.107.1383582144900;
        Mon, 04 Nov 2013 08:22:24 -0800 (PST)
Original-Received: from gondolin.macieira.info (gondolin.macieira.info. [2a01:4f8:d13:f81:21c:14ff:fe01:12a3])
        by mx.google.com with ESMTP id k2si11061000eey.62.2013.11.04.08.22.24
        for <std-proposals@isocpp.org>;
        Mon, 04 Nov 2013 08:22:24 -0800 (PST)
Received-SPF: pass (google.com: domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3 as permitted sender) client-ip=2a01:4f8:d13:f81:21c:14ff:fe01:12a3;
Original-Received: from tjmaciei-mobl2.localnet (unknown [IPv6:2a01:4f8:d13:f81:21c:14ff:fe01:12a3])
	by gondolin.macieira.info (Postfix) with ESMTPSA id 49BBD12C018
	for <std-proposals@isocpp.org>; Mon,  4 Nov 2013 08:22:24 -0800 (PST)
User-Agent: KMail/4.12 pre (Linux/3.9.10-100+i915fix.fc17.x86_64; KDE/4.11.60; x86_64; git-8054221; 2013-08-01)
In-Reply-To: <CAA7U3HNDauFSqR8gLbxk8SbBSMX0e-6zOqKqC1VCu8=9QyBWwA@mail.gmail.com>
X-Original-Sender: thiago@macieira.org
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3
 as permitted sender) smtp.mail=thiago@macieira.org
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:7588
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/7588>

On segunda-feira, 4 de novembro de 2013 15:14:56, Olaf van der Spek wrote:
> One could use a factory function
> Or some (automatic) get_size() function could be generated

Let's not go there, please.

Instead, if this is a desired feature, let's just make it so the compiler 
knows that it's a partial declaration. Until the declaration is full, the type 
is incomplete and its size is not known.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

-- 

--- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

.
