220 7589 <CAA7U3HOa+Nf8mXZGpUKJxi5hZ5=gEE-Q5aeRridTpNm1Gpu0rQ@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Olaf van der Spek <olafvdspek@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Fixing the private method issue
Date: Mon, 4 Nov 2013 17:28:03 +0100
Lines: 26
Approved: news@gmane.org
Message-ID: <CAA7U3HOa+Nf8mXZGpUKJxi5hZ5=gEE-Q5aeRridTpNm1Gpu0rQ@mail.gmail.com>
References: <d5cd9fa5-ac2f-465b-b92d-cf2a35607245@isocpp.org>
	<1CD4DBEC-8081-42AD-861A-FF87D7E55606@gmail.com>
	<CAA7U3HNDauFSqR8gLbxk8SbBSMX0e-6zOqKqC1VCu8=9QyBWwA@mail.gmail.com>
	<1389104.IyPuZUyp0R@tjmaciei-mobl2>
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 1383582480 4832 80.91.229.3 (4 Nov 2013 16:28:00 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 4 Nov 2013 16:28:00 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC5NB45SSABBBFEW36JQKGQERUGIYSQ@isocpp.org Mon Nov 04 17:28:05 2013
Return-path: <std-proposals+bncBC5NB45SSABBBFEW36JQKGQERUGIYSQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ee0-f72.google.com ([74.125.83.72])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC5NB45SSABBBFEW36JQKGQERUGIYSQ@isocpp.org>)
	id 1VdN0X-00022Z-Dc
	for gclcip-std-proposals@m.gmane.org; Mon, 04 Nov 2013 17:28:05 +0100
Original-Received: by mail-ee0-f72.google.com with SMTP id b47sf2335104eek.7
        for <gclcip-std-proposals@m.gmane.org>; Mon, 04 Nov 2013 08:28:05 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references:date
         :message-id:subject:from:to: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=fjMk5pej0K5YEJI5xV3HYOQVm3SO6/91nYuYiXVR++o=;
        b=KjckhVLtd5iDP9Yo5LZsLnUlOwaqKKbwcoetxB/6C8U5nonf0VaSMlmcJU7VgZt6BR
         3Hec9lGTrZ7SPOYXOchSk4K0lPldyOENtwcal/SADhHckqk7QXHW03ri2VqScqjv2TFT
         cJjdiz12KTsMudOFB/ovb7ee2GSl4zqpcQIgFVn5j1B1AOUqtIFIrXDBHYLWe3MrKLwG
         GbqB1V+tvOzmIb0Cf/w7aa2YOmbZj6yDNEXRjNvkUqQtcBxtlPjHjfA3AcpkIbEjIfB3
         ABfaiaT3oy4EWq2VWYyXVlWQbBA1MVrgSbmMzkWi2IfIaLFSCXeBjc1RpMR9TtfsmPoO
         CZAg==
X-Gm-Message-State: ALoCoQlu3bKoXkeQP333IypVT7fIfC0QP8B26RaRvuY0iImhrJjpMx1nESPnOwN+K67P6cOw59in
X-Received: by 10.14.210.3 with SMTP id t3mr6521684eeo.5.1383582485022;
        Mon, 04 Nov 2013 08:28:05 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.180.103.169 with SMTP id fx9ls518172wib.43.gmail; Mon, 04 Nov
 2013 08:28:04 -0800 (PST)
X-Received: by 10.204.163.203 with SMTP id b11mr10147388bky.21.1383582483894;
        Mon, 04 Nov 2013 08:28:03 -0800 (PST)
Original-Received: from mail-la0-x22a.google.com (mail-la0-x22a.google.com [2a00:1450:4010:c03::22a])
        by mx.google.com with ESMTPS id j5si2896458bko.223.2013.11.04.08.28.03
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Mon, 04 Nov 2013 08:28:03 -0800 (PST)
Received-SPF: pass (google.com: domain of olafvdspek@gmail.com designates 2a00:1450:4010:c03::22a as permitted sender) client-ip=2a00:1450:4010:c03::22a;
Original-Received: by mail-la0-f42.google.com with SMTP id ep20so932579lab.15
        for <std-proposals@isocpp.org>; Mon, 04 Nov 2013 08:28:03 -0800 (PST)
X-Received: by 10.112.134.3 with SMTP id pg3mr5566027lbb.11.1383582483317;
 Mon, 04 Nov 2013 08:28:03 -0800 (PST)
Original-Received: by 10.152.5.229 with HTTP; Mon, 4 Nov 2013 08:28:03 -0800 (PST)
In-Reply-To: <1389104.IyPuZUyp0R@tjmaciei-mobl2>
X-Original-Sender: olafvdspek@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of olafvdspek@gmail.com designates 2a00:1450:4010:c03::22a as
 permitted sender) smtp.mail=olafvdspek@gmail.com;       dkim=pass
 header.i=@gmail.com;       dmarc=pass (p=NONE dis=NONE) header.from=gmail.com
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:7589
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/7589>

On Mon, Nov 4, 2013 at 5:22 PM, Thiago Macieira <thiago@macieira.org> wrote:
> 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.

The idea is to move all private parts out of the header, avoiding
rebuilds on changes to private parts.


-- 
Olaf

-- 

--- 
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/.

.
