220 7877 <CAFk2RUYQ9e_grbtE+XnmiQ=sa9XdRP__-b+qW65PkSCwWVA3ng@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Ville Voutilainen <ville.voutilainen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Limited inheritance for classes
Date: Wed, 20 Nov 2013 16:49:49 +0200
Lines: 28
Approved: news@gmane.org
Message-ID: <CAFk2RUYQ9e_grbtE+XnmiQ=sa9XdRP__-b+qW65PkSCwWVA3ng@mail.gmail.com>
References: <f04aeac5-ab5a-4508-ae69-196f53e7a6f8@isocpp.org>
	<CAFk2RUapU4MNTVoVe3F0DP+5C7M_AHPT6MQdHxfVDTH+3tsQfQ@mail.gmail.com>
	<CA+JonM25VQutZms0zKYfbvP91b88Ou2gSnpXXi0ZAtnLO1htWQ@mail.gmail.com>
	<CAFk2RUYGPkEN+mdmi3KZ5M7FTP5=6=TrbTQzr3c1pCV3DnTwdg@mail.gmail.com>
	<CA+JonM0-YHEiEJywSjbLt+3=PuvyH7My=tTCnCDS44EO+Ac+kQ@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=KOI8-R
Content-Transfer-Encoding: quoted-printable
X-Trace: ger.gmane.org 1384958986 4633 80.91.229.3 (20 Nov 2013 14:49:46 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 20 Nov 2013 14:49:46 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC5JHI7A7ALRBDMYWOKAKGQE75JQHCY@isocpp.org Wed Nov 20 15:49:52 2013
Return-path: <std-proposals+bncBC5JHI7A7ALRBDMYWOKAKGQE75JQHCY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-oa0-f69.google.com ([209.85.219.69])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBDMYWOKAKGQE75JQHCY@isocpp.org>)
	id 1Vj96F-000344-15
	for gclcip-std-proposals@m.gmane.org; Wed, 20 Nov 2013 15:49:51 +0100
Original-Received: by mail-oa0-f69.google.com with SMTP id h16sf11364318oag.8
        for <gclcip-std-proposals@m.gmane.org>; Wed, 20 Nov 2013 06:49:50 -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:content-transfer-encoding;
        bh=ypxTzlzuAXlkvc/A24N43rDWJHF7TZew3/E6m5GV4FE=;
        b=Q8qyhRO71YT5YGY8jYe0d4fNlAotJ6cFwD/uZxyRXWC6Oj7IRFdckE0F2OkEp+j/ab
         vRRoEuAv9RyqfZD6XB+FEnJTFoorWqoLRTeivX9NeZvQKv6OC1+rKHp02iwjMKBtE9D+
         LdyrHQC2Rk7f4oDQz1eA5g/JglGIY1brkaCYEQfbVsDwGdbx8I9Dc8E/XBPmBJUW22Sw
         tKcbf2N6vftJdWKZiSFjhn5iwSBAYGhZL6AcqZrg5KtQGarTh1Uwd23ZVEAhqUW508Yf
         jatngZBt8P2IzeiKSrlHvX5Qb8rxsb0A+eV3jQkdKjZENDhsyIVx02lQ5lBMBxAdHfXD
         tMyQ==
X-Gm-Message-State: ALoCoQlsVv+3dTMBC1gqlC23Am6McvmQCxpdUPBdhq24Kc/uHg1+UJ46tBF+ANzOypkVe9MScGcT
X-Received: by 10.182.22.107 with SMTP id c11mr315411obf.46.1384958990066;
        Wed, 20 Nov 2013 06:49:50 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.49.94.167 with SMTP id dd7ls90200qeb.24.gmail; Wed, 20 Nov
 2013 06:49:49 -0800 (PST)
X-Received: by 10.224.112.134 with SMTP id w6mr1969275qap.21.1384958989521;
        Wed, 20 Nov 2013 06:49:49 -0800 (PST)
Original-Received: from mail-qc0-x229.google.com (mail-qc0-x229.google.com [2607:f8b0:400d:c01::229])
        by mx.google.com with ESMTPS id h4si16573320qai.63.2013.11.20.06.49.49
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Wed, 20 Nov 2013 06:49:49 -0800 (PST)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:400d:c01::229 as permitted sender) client-ip=2607:f8b0:400d:c01::229;
Original-Received: by mail-qc0-f169.google.com with SMTP id u18so5915775qcx.0
        for <std-proposals@isocpp.org>; Wed, 20 Nov 2013 06:49:49 -0800 (PST)
X-Received: by 10.229.219.199 with SMTP id hv7mr2094268qcb.15.1384958989356;
 Wed, 20 Nov 2013 06:49:49 -0800 (PST)
Original-Received: by 10.224.68.3 with HTTP; Wed, 20 Nov 2013 06:49:49 -0800 (PST)
In-Reply-To: <CA+JonM0-YHEiEJywSjbLt+3=PuvyH7My=tTCnCDS44EO+Ac+kQ@mail.gmail.com>
X-Original-Sender: ville.voutilainen@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of ville.voutilainen@gmail.com designates 2607:f8b0:400d:c01::229 as
 permitted sender) smtp.mail=ville.voutilainen@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:7877
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/7877>

On 20 November 2013 16:38, =E4=CD=C9=D4=D2=C9=CA =EC=C5=CF=CE=D4=D8=C5=D7 <=
dm.leontiev7@gmail.com> wrote:
> because I'll get an error on line:
>
> class B : public A, private Handler {
>     void function();//ERROR: function is final
> };
>
> final does not protect VTable


You didn't want B to be able to override 'function', final gave you exactly
that, and now you don't want exactly that? If B is still able to
override 'function',
what is that supposed to mean, and how does that prevent the problem
you described?

--=20

---=20
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 e=
mail 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-proposa=
ls/.

.
