220 9842 <CAArVCkQ52yjCNwKNepkw-XLpK+pEoFarugciDheFHkNrB7WRjw@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Philipp Maximilian Stephani <p.stephani2@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: final classes
Date: Sun, 16 Mar 2014 15:14:17 +0000
Lines: 177
Approved: news@gmane.org
Message-ID: <CAArVCkQ52yjCNwKNepkw-XLpK+pEoFarugciDheFHkNrB7WRjw@mail.gmail.com>
References: <cde8f4eb-1810-4a21-9052-4bef26bee6bb@isocpp.org>
 <795e2e5c-8473-4d5f-a54e-b3f1f7aab65b@isocpp.org> <CAMjv+TRMSWExz7huNkwCoJCwmrEZNk4rJekKmCuaCYQXiq4qeQ@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=bcaec51ba307b83a1f04f4bac195
X-Trace: ger.gmane.org 1394982852 19321 80.91.229.3 (16 Mar 2014 15:14:12 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sun, 16 Mar 2014 15:14:12 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBD35NAXJW4GBBS77S2MQKGQE5D4XDTI@isocpp.org Sun Mar 16 16:14:23 2014
Return-path: <std-proposals+bncBD35NAXJW4GBBS77S2MQKGQE5D4XDTI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-vc0-f198.google.com ([209.85.220.198])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBD35NAXJW4GBBS77S2MQKGQE5D4XDTI@isocpp.org>)
	id 1WPClY-0007gl-Vc
	for gclcip-std-proposals@m.gmane.org; Sun, 16 Mar 2014 16:14:21 +0100
Original-Received: by mail-vc0-f198.google.com with SMTP id il7sf10985263vcb.5
        for <gclcip-std-proposals@m.gmane.org>; Sun, 16 Mar 2014 08:14:20 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:references:from:date:message-id
         :subject: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;
        bh=eLKtMBBDPnktbUWkAL0pfXqr+QeL/BfCmGYieNSb5qs=;
        b=lTG4MQAbosfQEzG3kNUqXHNygAPlRLWsd/OZZ0s/NuawBw18Q4RsncQ5zXRdWqAn+f
         3iZIvMmD4/5eyQwL7JD/P/we0kpjipWaR6yb4x8geUyLbHJT0WJgLwuJ9rasbeGLgSBy
         N9Feqx/YAthmNzTPzpCwsc87aExfbHN4wBj/87XuhqIl9sDM0ln+z0nY+/EdCYNoWxT+
         9fTQ8L391CNsD1SYmnmMqjzwMcatHGNjk3vA9yVwpONDRk//mJwDijvN8n6+BOLyIn1r
         /zIuJ4grokmbKi7k8ysT7YteEca7IwRtmjwdfIHn1+ZPjzh0wElusFct/A3IrgvK0znM
         HDkA==
X-Gm-Message-State: ALoCoQkNC6hEsKJ2MZaalEOeRcLFVjzVy7o2LaMqeMlKC2HBrboE/jEiEfg5O6ppYxTl1r3d2Rw1
X-Received: by 10.236.210.48 with SMTP id t36mr5992853yho.44.1394982859982;
        Sun, 16 Mar 2014 08:14:19 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.40.11 with SMTP id w11ls1372527qgw.42.gmail; Sun, 16 Mar
 2014 08:14:19 -0700 (PDT)
X-Received: by 10.58.57.67 with SMTP id g3mr15698063veq.3.1394982859135;
        Sun, 16 Mar 2014 08:14:19 -0700 (PDT)
Original-Received: from mail-ve0-x236.google.com (mail-ve0-x236.google.com [2607:f8b0:400c:c01::236])
        by mx.google.com with ESMTPS id gs7si1058919vdc.182.2014.03.16.08.14.18
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sun, 16 Mar 2014 08:14:18 -0700 (PDT)
Received-SPF: pass (google.com: domain of p.stephani2@gmail.com designates 2607:f8b0:400c:c01::236 as permitted sender) client-ip=2607:f8b0:400c:c01::236;
Original-Received: by mail-ve0-f182.google.com with SMTP id jw12so4770423veb.13
        for <std-proposals@isocpp.org>; Sun, 16 Mar 2014 08:14:18 -0700 (PDT)
X-Received: by 10.52.141.105 with SMTP id rn9mr1112014vdb.44.1394982858011;
 Sun, 16 Mar 2014 08:14:18 -0700 (PDT)
X-Original-Sender: p.stephani2@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of p.stephani2@gmail.com designates 2607:f8b0:400c:c01::236 as
 permitted sender) smtp.mail=p.stephani2@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:9842
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/9842>

--bcaec51ba307b83a1f04f4bac195
Content-Type: text/plain; charset=UTF-8

final has been implemented in GCC 4.7. Can you post a minimal example that
fails?

On Sun Mar 16 2014 at 13:21:42, Christ-Jan Wijtmans <cj.wijtmans@gmail.com>
wrote:

> i tried -std=c++11, the final keyword still errors.
>
>
> Live long and prosper,
>
> Christ-Jan Wijtmans
> https://github.com/cjwijtmans
> http://facebook.com/cj.wijtmans
> http://twitter.com/cjwijtmans
>
>
> On Sun, Mar 16, 2014 at 1:18 PM, Christ-Jan Wijtmans <
> cj.wijtmans@gmail.com> wrote:
>
>>  QMAKE_CXXFLAGS += -std=gnu++11
>>
>> I am guessing i should change this to c++1?
>>
>>
>> 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 a topic in the
>> Google Groups "ISO C++ Standard - Future Proposals" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/a/isocpp.org/d/topic/std-proposals/-2xoGNtxRpI/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, 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/.
>>
>  --
>
> ---
> 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/.
>

-- 

--- 
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/.

--bcaec51ba307b83a1f04f4bac195
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

final has been implemented in GCC 4.7. Can you post a minimal example that =
fails?<br><br><div>On Sun Mar 16 2014 at 13:21:42, Christ-Jan Wijtmans &lt;=
<a href=3D"mailto:cj.wijtmans@gmail.com">cj.wijtmans@gmail.com</a>&gt; wrot=
e:</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr">i tried -std=3Dc++11, the f=
inal keyword still errors.</div><div class=3D"gmail_extra"><br clear=3D"all=
"><div><div dir=3D"ltr">
<br>Live long and prosper,<br><br>Christ-Jan Wijtmans<br><a href=3D"https:/=
/github.com/cjwijtmans" target=3D"_blank">https://github.com/cjwijtmans</a>=
<br>
<a href=3D"http://facebook.com/cj.wijtmans" target=3D"_blank">http://facebo=
ok.com/cj.wijtmans</a><br><a href=3D"http://twitter.com/cjwijtmans" target=
=3D"_blank">http://twitter.com/cjwijtmans</a></div></div>
<br><br><div class=3D"gmail_quote"></div></div><div class=3D"gmail_extra"><=
div class=3D"gmail_quote">On Sun, Mar 16, 2014 at 1:18 PM, Christ-Jan Wijtm=
ans <span dir=3D"ltr">&lt;<a href=3D"mailto:cj.wijtmans@gmail.com" target=
=3D"_blank">cj.wijtmans@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex"><div class=3D"gmail_extra"><div =
class=3D"gmail_quote">
<div dir=3D"ltr">
<pre>QMAKE_CXXFLAGS<span style=3D"color:#c0c0c0"> </span>+=3D<span style=3D=
"color:#c0c0c0"> </span>-std=3Dgnu++11

I am guessing i should change this to c++1?</pre><div><br>Op zondag 16 maar=
t 2014 12:00:31 UTC+1 schreef Christ-Jan Wijtmans:</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0;margin-left:0.8ex;border-left:1px #ccc s=
olid;padding-left:1ex">

<div dir=3D"ltr">I would like to see the final keyword implemented that res=
tricts classes from being derived, like in java.<div><div><br>Right now we =
can ensure classes are derived by making the constructor protected or by ad=
ding abstract virtuals.</div>

</div></div></blockquote></div></div></div></blockquote><div><div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so=
lid;padding-left:1ex"><div class=3D"gmail_extra"><div class=3D"gmail_quote"=
>

<p></p>

-- <br>
<br>
--- <br>
You received this message because you are subscribed to a topic in the Goog=
le Groups &quot;ISO C++ Standard - Future Proposals&quot; group.<br>
To unsubscribe from this topic, visit <a href=3D"https://groups.google.com/=
a/isocpp.org/d/topic/std-proposals/-2xoGNtxRpI/unsubscribe" target=3D"_blan=
k">https://groups.google.com/a/isocpp.org/d/topic/std-proposals/-2xoGNtxRpI=
/unsubscribe</a>.<br>


To unsubscribe from this group and all its topics, send an email to <a href=
=3D"mailto:std-proposals+unsubscribe@isocpp.org" target=3D"_blank">std-prop=
osals+unsubscribe@isocpp.org</a>.</div></div></blockquote></div></div><div>
<div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-le=
ft:1px #ccc solid;padding-left:1ex"><div class=3D"gmail_extra"><div class=
=3D"gmail_quote"><br>
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org" target=3D"_blank">std-proposals@isocpp.org</a>.<br>
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/" target=3D"_blank">http://groups.google.com/a/isocpp.org/gro=
up/std-proposals/</a>.<br>
</div></div></blockquote></div></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" target=3D"_=
blank">std-proposals+unsubscribe@isocpp.org</a>.<br>
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org" target=3D"_blank">std-proposals@isocpp.org</a>.<br>
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/" target=3D"_blank">http://groups.google.com/a/isocpp.org/gro=
up/std-proposals/</a>.<br>
</blockquote>

<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 />

--bcaec51ba307b83a1f04f4bac195--

.
