220 9839 <5240829b-ea9b-4d3e-acc6-68d5972d4d02@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: inkwizytoryankes@gmail.com
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: final classes
Date: Sun, 16 Mar 2014 05:15:59 -0700 (PDT)
Lines: 62
Approved: news@gmane.org
Message-ID: <5240829b-ea9b-4d3e-acc6-68d5972d4d02@isocpp.org>
References: <cde8f4eb-1810-4a21-9052-4bef26bee6bb@isocpp.org>
 <baf024ca-c86e-48a7-94da-aebfb19cee80@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_4698_3292126.1394972159646"
X-Trace: ger.gmane.org 1394972152 7991 80.91.229.3 (16 Mar 2014 12:15:52 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sun, 16 Mar 2014 12:15:52 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDDLTAGNTIBBBAFMS2MQKGQEWVZOSFY@isocpp.org Sun Mar 16 13:16:02 2014
Return-path: <std-proposals+bncBDDLTAGNTIBBBAFMS2MQKGQEWVZOSFY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ie0-f199.google.com ([209.85.223.199])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDDLTAGNTIBBBAFMS2MQKGQEWVZOSFY@isocpp.org>)
	id 1WP9z0-0006mr-8k
	for gclcip-std-proposals@m.gmane.org; Sun, 16 Mar 2014 13:16:02 +0100
Original-Received: by mail-ie0-f199.google.com with SMTP id rl12sf16479906iec.10
        for <gclcip-std-proposals@m.gmane.org>; Sun, 16 Mar 2014 05:16:01 -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=+/eHdkeuAgwzt3saEwLjmLoOcTBAP+o4D46/cvJOeO4=;
        b=PWKf5cztNkrFrTHDXAckmbi2LYJPmkUTWWgYVRCL6D8fHp0YbjyXDfMdRq4oHE8ap0
         9IJMTrCFbfm5PNVZAGf+6+Pj6Umu2qUjTy0T7mbOZeU/gAZRqTV6KLzjX6LSRXg/er8E
         HDowcI/RbmBiyv2kkDqJ9nkQrWaSYuy8xF0DOOIjRDf4UGVaHom6hUwP8HdZc3ieIRW9
         Yogi6MHZELxBPLtZap/b8dk7CZ62BNVcPGrNzeBq2Ju4jlXugPddWwP2gts9u1OmbRDu
         4iU6CgXKzqStqReRlvZERHK4dwAU0pcxaSUktPcOGoCjcpCBPIhVYRJs/elxZUbojNRL
         aA5A==
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=+/eHdkeuAgwzt3saEwLjmLoOcTBAP+o4D46/cvJOeO4=;
        b=H08nG+FZtqL71briiIJ/ZU3MMuyE1IlCTjFjB3pVYrLA8h1qFm5z37C9kWZkHqe8Kp
         kWrG5lpaFY2x2On6dGcSMeRRlioOgvkW9593ZON28IuCbHRbyIIi2MCvJYY79qz2KrLw
         heB/yuSRtIB60iet7fHMtLAffQFEDwszBHESYJfD0SVZQbr/2I+ashOZV+IYR887qRYy
         P7UyB5ojSb1/gGIi9hOXXHyyE22WR9j6vADngWFtu1sL0f5tdNdp75daZUy8XEf6zBMR
         noXHNnYpfO8yj93sS/L3X0BXXsNPPlGjBx+r9K1gYlV5sHysKU6K7v0inBpmQ5nGomTN
         NdSA==
X-Gm-Message-State: ALoCoQmq4FxHB9wtB2UPdIsvsSyHi66TP+o1r+d2sABaJQbIuJwWDmrWXCywaD2ixIOgLAqGInow
X-Received: by 10.43.139.66 with SMTP id iv2mr6728235icc.17.1394972161380;
        Sun, 16 Mar 2014 05:16:01 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.95.20 with SMTP id h20ls1273483qge.54.gmail; Sun, 16 Mar
 2014 05:16:00 -0700 (PDT)
X-Received: by 10.140.49.136 with SMTP id q8mr52207qga.7.1394972160492;
        Sun, 16 Mar 2014 05:16:00 -0700 (PDT)
In-Reply-To: <baf024ca-c86e-48a7-94da-aebfb19cee80@isocpp.org>
X-Original-Sender: inkwizytoryankes@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:9839
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/9839>

------=_Part_4698_3292126.1394972159646
Content-Type: text/plain; charset=UTF-8

with `-std=c++11` or `-std=gnu++11`?

On Sunday, March 16, 2014 12:38:28 PM UTC+1, Christ-Jan Wijtmans wrote:
>
> 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_4698_3292126.1394972159646
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">with `<code>-std=3Dc++11</code>` or `<code>-std=3Dgnu++11<=
/code>`?<br><br>On Sunday, March 16, 2014 12:38:28 PM UTC+1, Christ-Jan Wij=
tmans wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-lef=
t: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><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:31 UTC+1 schreef Ch=
rist-Jan Wijtmans:<blockquote class=3D"gmail_quote" style=3D"margin:0;margi=
n-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">=
I would like to see the final keyword implemented that restricts classes fr=
om being derived, like in java.<br>Right now we can ensure classes are deri=
ved by making the constructor protected or by adding abstract virtuals.</di=
v></blockquote></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_4698_3292126.1394972159646--

.
