220 7565 <CAArVCkSuXjrNxGudUiCnEYNqXhr35Bk_ntSX5VHvruk-z7qvSQ@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Philipp Stephani <p.stephani2@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Fixing the private method issue
Date: Mon, 4 Nov 2013 03:09:00 +0100
Lines: 61
Approved: news@gmane.org
Message-ID: <CAArVCkSuXjrNxGudUiCnEYNqXhr35Bk_ntSX5VHvruk-z7qvSQ@mail.gmail.com>
References: <d5cd9fa5-ac2f-465b-b92d-cf2a35607245@isocpp.org>
	<8d5f90be-ed45-4b42-9ddd-d6e2497c8166@isocpp.org>
	<CAPBZbvzB7PX9z=yRc_zG05hzeqZtUPAX6tVUT_DPdZ0ZXGXgww@mail.gmail.com>
	<CAArVCkTy7YeWPRg7=OfKZ=G+WCVbxazp6rut7+gUxS_Zd4Tx_w@mail.gmail.com>
	<CAPBZbvyLXavU2wLcWqqL4iRObybAByAPm9+aDny8vRHvby4SJw@mail.gmail.com>
	<CAArVCkSEUeY4pJ5pA2nyqV=zs8NwNxcAUyOsp5j--GT4wNZNGg@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=001a11c3675e387b0a04ea5066ed
X-Trace: ger.gmane.org 1383530940 7368 80.91.229.3 (4 Nov 2013 02:09:00 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 4 Nov 2013 02:09:00 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBD35NAXJW4GBBPED3SJQKGQE3KTZ77A@isocpp.org Mon Nov 04 03:09:01 2013
Return-path: <std-proposals+bncBD35NAXJW4GBBPED3SJQKGQE3KTZ77A@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wg0-f71.google.com ([74.125.82.71])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBD35NAXJW4GBBPED3SJQKGQE3KTZ77A@isocpp.org>)
	id 1Vd9bB-0002RK-JB
	for gclcip-std-proposals@m.gmane.org; Mon, 04 Nov 2013 03:09:01 +0100
Original-Received: by mail-wg0-f71.google.com with SMTP id b13sf2657612wgh.2
        for <gclcip-std-proposals@m.gmane.org>; Sun, 03 Nov 2013 18:09:01 -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=9+z71xYCGP/1NmO6j0o5Owq5g5FAqcMdJWDfafdDBcI=;
        b=KwhH1jnAcFaMTQJuwnBOVjdDSBbymXNYhoCyUP4tYyWQY0vZvhczpX/zeaGE8k+8b1
         x2cW+tARlMhkkI8M+Yd11pK5rtJotV50pSz/j6l5TtzvFZTv5L80/7MyD1mToI/4aYdb
         KosLdUfgaLxqjxziLshgxVfAUO6BXcGlLkK7eGU3I0hK5bej3kknqaFOV+3DNS5hzWXj
         P1NzPTpH0GGUQVa7DvZiUInjRZefCS575dYowxoBQ74mnfqQy+phlYC6/L0U8ncNZU5j
         qKGFmA39y/Cc/dbDPu2qe+wmCzE52LsNRBq2nHktKyYl0Q/bskNrUJF/5fwJ/GO2sjRF
         l6nw==
X-Gm-Message-State: ALoCoQl7+fKxgQY7jFuKWOYnzLfizY4E/1HAg68op6UI8jfPK0RlpwdLZbiq9Bk57XyWezV/xSj9
X-Received: by 10.14.210.3 with SMTP id t3mr5225400eeo.5.1383530940823;
        Sun, 03 Nov 2013 18:09:00 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.180.218.130 with SMTP id pg2ls408014wic.41.canary; Sun, 03 Nov
 2013 18:09:00 -0800 (PST)
X-Received: by 10.204.71.5 with SMTP id f5mr7822953bkj.1.1383530940482;
        Sun, 03 Nov 2013 18:09:00 -0800 (PST)
Original-Received: from mail-la0-x22f.google.com (mail-la0-x22f.google.com [2a00:1450:4010:c03::22f])
        by mx.google.com with ESMTPS id b2si2477528bko.97.2013.11.03.18.09.00
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sun, 03 Nov 2013 18:09:00 -0800 (PST)
Received-SPF: pass (google.com: domain of p.stephani2@gmail.com designates 2a00:1450:4010:c03::22f as permitted sender) client-ip=2a00:1450:4010:c03::22f;
Original-Received: by mail-la0-f47.google.com with SMTP id er20so502041lab.6
        for <std-proposals@isocpp.org>; Sun, 03 Nov 2013 18:09:00 -0800 (PST)
X-Received: by 10.152.116.109 with SMTP id jv13mr36745lab.30.1383530940101;
 Sun, 03 Nov 2013 18:09:00 -0800 (PST)
Original-Received: by 10.112.9.235 with HTTP; Sun, 3 Nov 2013 18:09:00 -0800 (PST)
In-Reply-To: <CAArVCkSEUeY4pJ5pA2nyqV=zs8NwNxcAUyOsp5j--GT4wNZNGg@mail.gmail.com>
X-Original-Sender: p.stephani2@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of p.stephani2@gmail.com designates 2a00:1450:4010:c03::22f as
 permitted sender) smtp.mail=p.stephani2@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:7565
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/7565>

--001a11c3675e387b0a04ea5066ed
Content-Type: text/plain; charset=ISO-8859-1

2013/11/4 Philipp Stephani <p.stephani2@gmail.com>

> I'm not sure whether a restriction should be made to only allow private
> nonvirtual functions outside the class definition -- a rule could be added
> that the class layout may not be different for any nonzero number of
> virtual functions, and the compiler could signal an error if a virtual
> function is to be added to a class whose definition doesn't contain any
> virtual functions.
>

This is wrong: As already pointed out by the OP, all virtual functions can
be overridden and are therefore part of the interface, regardless of their
visibility.

-- 

--- 
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/.

--001a11c3675e387b0a04ea5066ed
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><br><div class=3D"gmail=
_quote">2013/11/4 Philipp Stephani <span dir=3D"ltr">&lt;<a href=3D"mailto:=
p.stephani2@gmail.com" target=3D"_blank">p.stephani2@gmail.com</a>&gt;</spa=
n><br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l=
eft:1px #ccc solid;padding-left:1ex">
<div dir=3D"ltr"><div>I&#39;m not sure whether a restriction should be made=
 to only allow private nonvirtual functions outside the class definition --=
 a rule could be added that the class layout may not be different for any n=
onzero number of virtual functions, and the compiler could signal an error =
if a virtual function is to be added to a class whose definition doesn&#39;=
t contain any virtual functions.</div>
</div></blockquote><div><br></div><div>This is wrong: As already pointed ou=
t by the OP, all virtual functions can be overridden and are therefore part=
 of the interface, regardless of their visibility.=A0</div></div></div></di=
v>

<p></p>

-- <br />
&nbsp;<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

--001a11c3675e387b0a04ea5066ed--

.
