220 7573 <2334136.EQ8SoHyhLE@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: Re: Fixing the private method issue
Date: Sun, 03 Nov 2013 21:28:49 -0800
Lines: 30
Approved: news@gmane.org
Message-ID: <2334136.EQ8SoHyhLE@tjmaciei-mobl2>
References: <d5cd9fa5-ac2f-465b-b92d-cf2a35607245@isocpp.org> <4608928.hBFqcpEg1D@tjmaciei-mobl2> <CAFk2RUaZr5W7L6Ez6o5xn7_Qh7gCBzEnw3=1U4=cMka7wA_D7Q@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 1383542926 14854 80.91.229.3 (4 Nov 2013 05:28:46 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 4 Nov 2013 05:28:46 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCB4TK757YBRBE7B3SJQKGQEHIHSOAA@isocpp.org Mon Nov 04 06:28:53 2013
Return-path: <std-proposals+bncBCB4TK757YBRBE7B3SJQKGQEHIHSOAA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-we0-f197.google.com ([74.125.82.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCB4TK757YBRBE7B3SJQKGQEHIHSOAA@isocpp.org>)
	id 1VdCib-0002zS-6z
	for gclcip-std-proposals@m.gmane.org; Mon, 04 Nov 2013 06:28:53 +0100
Original-Received: by mail-we0-f197.google.com with SMTP id t60sf2841168wes.0
        for <gclcip-std-proposals@m.gmane.org>; Sun, 03 Nov 2013 21:28:52 -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=gyK0xWO12UvJi/h2w0ThH4IUUdWaYSyc8ovcGE7ao7k=;
        b=VsW1vk7qyIOXqLeaWYYTf1dFRr7+OiPmeArjBaaVX++JGdM6CZDwzCHWrvHBuymvwL
         p+I48x6kwU9BLUNbq4AviDQUJkL29O1n5YfSlsIFVq87wOYwGU+ujaAF8Z2RMT0FB+Ww
         TebvaTXDHlN/aWDqGUR1S02tahASLsw+t7dtpt7v3El+CWkKIh3iJmTLlCDioKF7QSeK
         ECzdSw8XL0Po5XovbnP+R0HuJ2tR8C8jrZslzTWkqUD/zxfpa0TsxXUXx6S+3/hG1eWv
         8W/K08MnZgUIJa0oCvWYQR+2BPBBK4Ol/DUyxbv28s/NNqivhBLH1KB+I13fo7v+RC4u
         NjJw==
X-Gm-Message-State: ALoCoQnMOj2WLZbE5wsz5mO7Lpz5gZ33JLkY6a9xX1hIh9UrS6hIZLWK0Gv1vo+Y5TKLOigzFyW9
X-Received: by 10.112.202.193 with SMTP id kk1mr5390043lbc.17.1383542932476;
        Sun, 03 Nov 2013 21:28:52 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.180.184.35 with SMTP id er3ls427282wic.35.canary; Sun, 03 Nov
 2013 21:28:51 -0800 (PST)
X-Received: by 10.14.207.132 with SMTP id n4mr134250eeo.102.1383542931580;
        Sun, 03 Nov 2013 21:28:51 -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 c49si9175736eeg.117.2013.11.03.21.28.51
        for <std-proposals@isocpp.org>;
        Sun, 03 Nov 2013 21:28:51 -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:2002:3289:aaef:0:943d:6087:3027:c588])
	by gondolin.macieira.info (Postfix) with ESMTPSA id 19B1C12C01E
	for <std-proposals@isocpp.org>; Sun,  3 Nov 2013 21:28:51 -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: <CAFk2RUaZr5W7L6Ez6o5xn7_Qh7gCBzEnw3=1U4=cMka7wA_D7Q@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:7573
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/7573>

On segunda-feira, 4 de novembro de 2013 06:41:12, Ville Voutilainen wrote:
> I still have trouble grokking the "that includes overrides" part. How does
> adding an override change the ABI?

See these two exceptions to overriding virtuals
http://techbase.kde.org/Policies/Binary_Compatibility_Examples#Override_a_virtual_with_a_covariant_return_with_different_top_address
http://techbase.kde.org/Policies/Binary_Compatibility_Examples#Override_a_virtual_that_doesn.27t_come_from_a_primary_base

These two overrides are actually new virtuals in disguise under the portable 
IA-64 C++ ABI used by GCC and Clang. Since those two cases are possible, we 
have to take into consideration the possibility that other overrides are 
actually new virtuals under other ABIs.

That means we must treat all overrides as if they were new virtuals for the 
purpose of defining the standard.

-- 
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/.

.
