220 9837 <baf024ca-c86e-48a7-94da-aebfb19cee80@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Christ-Jan Wijtmans <cj.wijtmans@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: final classes
Date: Sun, 16 Mar 2014 04:38:28 -0700 (PDT)
Lines: 53
Approved: news@gmane.org
Message-ID: <baf024ca-c86e-48a7-94da-aebfb19cee80@isocpp.org>
References: <cde8f4eb-1810-4a21-9052-4bef26bee6bb@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_1271_9092045.1394969908587"
X-Trace: ger.gmane.org 1394969904 18568 80.91.229.3 (16 Mar 2014 11:38:24 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sun, 16 Mar 2014 11:38:24 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDU4R6M73ABRBNM2S2MQKGQEN2RQNBA@isocpp.org Sun Mar 16 12:38:34 2014
Return-path: <std-proposals+bncBDU4R6M73ABRBNM2S2MQKGQEN2RQNBA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yh0-f70.google.com ([209.85.213.70])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDU4R6M73ABRBNM2S2MQKGQEN2RQNBA@isocpp.org>)
	id 1WP9Og-000460-Sh
	for gclcip-std-proposals@m.gmane.org; Sun, 16 Mar 2014 12:38:31 +0100
Original-Received: by mail-yh0-f70.google.com with SMTP id c41sf11567842yho.1
        for <gclcip-std-proposals@m.gmane.org>; Sun, 16 Mar 2014 04:38:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe
         :content-type;
        bh=q+1NFF0SD1VUjYyPZanJECQ2SYA/mKM6pX0TTklIRlY=;
        b=rKbGN1s514NThMygQYLeJn5MdEa+U+Z1iyHqZahEDkkaiX4jYNgvztEXst9vVicY1W
         4bKW7lIbm3GvaalcD2Qe+6gDzIJK/9ftRAAz7HBQsV+ecMsuvMLDmbBCin4qLNHlzBel
         C2emXKCq78/9nKjwPNipBHxos3GG7T0SslkVyUZ3O1jFDNqSdTU3UvoLezBYTaVdgQ96
         ZcFbT8YthFsVVmh47spTB9/EQD7BHRyuS+FgcUvRZIq69rb0UMazIUKCE7AETEwCJZEA
         qmD8ypDS80ooIX0nbJkqco+TybeFyP7tlKbfojIA2nSdzykZCsJ99iDx01ZrJu8rCRmb
         HnHw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:x-original-sender:reply-to:precedence
         :mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe:content-type;
        bh=q+1NFF0SD1VUjYyPZanJECQ2SYA/mKM6pX0TTklIRlY=;
        b=MicGAC82+X5MLNn51FVkXzmTEW1dAdXPJkx5AutdxanaSRcvqXfIBHy+1Sz0yM6+zZ
         nqs7cArvBvnYEDVgNhsSUgeN6eMjv/WxyE01jiwCXhdf0kANc+84wBmnG95XLDniOVf8
         aj6maKcfWaEaqM+/a+v+lyGCe7Dkt1Mt08Z9CnJ8mi/BP4i2HYBNmUGtk/XC++r6FQpf
         RAfGBq1NGk9hReqe+CZhKT48AuWcA1Zb2d0kzW2HPytbEl1bYBjAMx+AiMpBg46yIZRc
         LFYk48ToAgjfURTIVUU74n2N4UhdlzcPp0hj//GD7A86qrCavYUsnz/g11iDrFlatVgo
         H0rw==
X-Gm-Message-State: ALoCoQmhSXvAIONxaFS0SufYPLNc1w6uK1p9oMXb7YTLFHEVbYkfJtXAEU7ExCW1a3CQ1gFP7nCc
X-Received: by 10.58.132.210 with SMTP id ow18mr6728135veb.8.1394969909930;
        Sun, 16 Mar 2014 04:38:29 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.109.137 with SMTP id l9ls1305968qgf.40.gmail; Sun, 16 Mar
 2014 04:38:29 -0700 (PDT)
X-Received: by 10.140.108.6 with SMTP id i6mr368152qgf.0.1394969909357;
        Sun, 16 Mar 2014 04:38:29 -0700 (PDT)
In-Reply-To: <cde8f4eb-1810-4a21-9052-4bef26bee6bb@isocpp.org>
X-Original-Sender: cj.wijtmans@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:9837
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/9837>

------=_Part_1271_9092045.1394969908587
Content-Type: text/plain; charset=UTF-8

I just tried to compile a class with the final keyword, it gave an error. I 
am suing GCC 4.8.2

Op zondag 16 maart 2014 12:00:31 UTC+1 schreef Christ-Jan Wijtmans:
>
> I would like to see the final keyword implemented that restricts classes 
> from being derived, like in java.
> Right now we can ensure classes are derived by making the constructor 
> protected or by adding abstract virtuals.
>

-- 

--- 
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/.

------=_Part_1271_9092045.1394969908587
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I just tried to compile a class with the final keyword, it=
 gave an error. I am suing GCC 4.8.2<br><br>Op zondag 16 maart 2014 12:00:3=
1 UTC+1 schreef Christ-Jan Wijtmans:<blockquote class=3D"gmail_quote" style=
=3D"margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: =
1ex;"><div dir=3D"ltr">I would like to see the final keyword implemented th=
at restricts classes from being derived, like in java.<br>Right now we can =
ensure classes are derived by making the constructor protected or by adding=
 abstract virtuals.</div></blockquote></div>

<p></p>

-- <br />
<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 <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<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 />

------=_Part_1271_9092045.1394969908587--

.
