220 25935 <28706525.jxcsXmKXrz@tjmaciei-mobl1> article
Path: news.gmane.org!not-for-mail
From: Thiago Macieira <thiago@macieira.org>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: pure specifiers on function definitions
Date: Wed, 18 May 2016 23:31:07 -0700
Lines: 22
Approved: news@gmane.org
Message-ID: <28706525.jxcsXmKXrz@tjmaciei-mobl1>
References: <CAFdMc-3aDnR7sHtOWN=+Q1d9Hfip+61rC5E-2NWdYo-qGifiCA@mail.gmail.com> <CAKiZDp3LhV-6t-zngETiGzA5dAh_n0K6FrKSbxcM41xV9SkgxA@mail.gmail.com> <CAOfiQqnrc7_3LhamPBRSfD5crwZ=x36wyp-Ss7cCGe5SDhpjZg@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: ger.gmane.org 1463639489 13413 80.91.229.3 (19 May 2016 06:31:29 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 19 May 2016 06:31:29 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCB4TK757YBRBLV36W4QKGQEHIPY7KI@isocpp.org Thu May 19 08:31:12 2016
Return-path: <std-proposals+bncBCB4TK757YBRBLV36W4QKGQEHIPY7KI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-lf0-f72.google.com ([209.85.215.72])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCB4TK757YBRBLV36W4QKGQEHIPY7KI@isocpp.org>)
	id 1b3HUG-0004v0-0i
	for gclcip-std-proposals@m.gmane.org; Thu, 19 May 2016 08:31:12 +0200
Original-Received: by mail-lf0-f72.google.com with SMTP id y84sf36598541lfc.3
        for <gclcip-std-proposals@m.gmane.org>; Wed, 18 May 2016 23:31:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=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:x-spam-checked-in-group
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=W8jJLiwHQ9npuhofxt2UHqPOVVq0ESW1vgimVkfKrSs=;
        b=RxG/SbRndecRzdDl/0r/RKcwrASE01UDK8cNC35m9T9g7QU+WrMktqPioi3+qkkXnj
         BUU7KDmhb8bJO4+9h3GcmYpYDijvRlRQm2p78iQqVZ9ncwK7wKYWjr0+ougx4fEKgDlz
         jZXKuu0Bw99vW1kba7V4rs2BEXwX6qwbuPCKX1JSrI9tcl7hVdYyQ7Qd6ro7ltw4pYgS
         Erbssp4dTlg2tamNzqROFf1tZWx/Gq+isKEDszIYJ9fy0XPcC5vurfQoeYZErfOM7QdU
         odiiK4VQoV+mdL3WmKKUh4Z94l1+rbpDUnViQr2FF33YCY99bgKl2CyAGTIQpQH8Qp9j
         aVCg==
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:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=W8jJLiwHQ9npuhofxt2UHqPOVVq0ESW1vgimVkfKrSs=;
        b=guZBKp/o7jTGLudlVHsgN3YmuHiqZfjELbzbGztWs28DUpCemxIYJPLqVvkWmNFp4f
         ySkl6eonNAZC6ROEzSSLnHHK7MuBni5IIIY/dGsDS+wqmNkh2O1x3HMzF/l6aICP4fhO
         iTeEc+YjcZQnRBsMz3Z0l2CUZqXS30P/h+Tl8g0VLydUa3B0gpFzZchfbMg6d0wI5l2r
         ag8lS+Cxn2ZDf9Pmgjs3431chKWKrbwha+4pbjVkuek1YelE8dSa5rqrD4H4YZzsgrN+
         ocaSNv2zXpOBJFvmDa2BzzrQUomw+TwUqmHzwQQWmcKRH0uvKySaKt3Oe6a+ml2ZYG0q
         s3hw==
X-Gm-Message-State: AOPr4FU3nFoazuu62wtX5BU+liE45Pg3ptvHYIDCW9aH9HA+jcDMINSNx8UMG3L6S++eqA==
X-Received: by 10.194.171.170 with SMTP id av10mr4969650wjc.0.1463639471436;
        Wed, 18 May 2016 23:31:11 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.28.26.195 with SMTP id a186ls453912wma.37.gmail; Wed, 18 May
 2016 23:31:10 -0700 (PDT)
X-Received: by 10.194.223.41 with SMTP id qr9mr11247925wjc.61.1463639470237;
        Wed, 18 May 2016 23:31:10 -0700 (PDT)
Original-Received: from gondolin.macieira.info (gondolin.macieira.info. [78.47.120.188])
        by mx.google.com with ESMTP id f142si38565659wmf.54.2016.05.18.23.31.10
        for <std-proposals@isocpp.org>;
        Wed, 18 May 2016 23:31:10 -0700 (PDT)
Received-SPF: pass (google.com: domain of thiago@macieira.org designates 78.47.120.188 as permitted sender) client-ip=78.47.120.188;
Original-Received: from tjmaciei-mobl1.localnet (unknown [IPv6:2601:1c0:5803:81c9:6cce:8273:cc9f:494c])
	by gondolin.macieira.info (Postfix) with ESMTPSA id A679711B843
	for <std-proposals@isocpp.org>; Wed, 18 May 2016 23:31:09 -0700 (PDT)
User-Agent: KMail/5.1.3 (Linux/4.6.0-1.gd9e67cc-default; KDE/5.22.0; x86_64; ; )
In-Reply-To: <CAOfiQqnrc7_3LhamPBRSfD5crwZ=x36wyp-Ss7cCGe5SDhpjZg@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 78.47.120.188 as permitted sender) smtp.mailfrom=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-Spam-Checked-In-Group: std-proposals@isocpp.org
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:25935
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/25935>

On quarta-feira, 18 de maio de 2016 17:23:21 PDT Richard Smith wrote:
> Yes, a low-quality conforming C++2{ compiler could choose to issue a
> diagnostic when it sees the attribute and then (outside of SFINAE contexts)
> compile the rest of the program ignoring its presence.

But fail to link.

Since this is a virtual function, it must be listed in the vtable. If the 
compiler ignored the [[abstract]] attribute, it won't know to insert the 
marker for pure virtual functions. Instead, it will try to find the actual 
function's entry point, which may not exist.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center

-- 
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.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/28706525.jxcsXmKXrz%40tjmaciei-mobl1.

.
