This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [C++14] Add is_final type trait.
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: Ed Smith-Rowland <3dw4rd at verizon dot net>
- Cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Date: Sun, 14 Sep 2014 11:18:24 +0100
- Subject: Re: [C++14] Add is_final type trait.
- Authentication-results: sourceware.org; auth=none
- References: <5414F636 dot 8070802 at verizon dot net>
On 13/09/14 21:58 -0400, Ed Smith-Rowland wrote:
We've had __has_final built-in for a good while.
the std library component is_final was added to C++14 - which is now good.
I noticed while looking at the latest SD-6 draft.
So here is a simple patch that builds and passes clean on x86_64-linux.
OK?
Yes, OK for trunk. Thanks, Ed.
I'd be willing to approve a backport to 4.9 as well (changing the test
from >= 201402L to > 201103L) if you wanted to prepare that patch :-)