This is the mail archive of the mailing list for the libstdc++ project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

SD-6 C++ feature-testing macros for 4.9

On 10/02/2014 11:42 AM, Jonathan Wakely wrote:
The library macros are safe and can't cause any issues, so I'm happy for them to go on the branch.

I can think of at least two that aren't implemented on the branch: <experimental/any> and the std::is_final trait (although I'd be OK with the trait going on the branch too).

----- Original Message -----
From: "Jason Merrill" <>
To: "Ed Smith-Rowland" <>, "Jonathan Wakely" <>
Cc:, "thiago macieira" <>
Sent: Thursday, 2 October, 2014 4:40:03 PM
Subject: Re: feature-testing macros for 4.9

On 10/02/2014 10:58 AM, Ed Smith-Rowland wrote:
We've had a request from someone that we include SD-6 feature testing
for gcc-4.9.
It seems rather heavy for a backport but it might make maintainers of
large C++ libraries happy ;-) and it might make sense as people migrate
from 4.9 to 5.0 to see what we've added.
I'm open to that.



This really does build clean and test clean on x86_64-linux.
It's basically the same as for 5.0 except experimental/any isn't in and variable templates aren't in.

I put std::is_final into 4.9 earlier - this patch adds the macro for that too.

I made this into a single grand unified patch this time. i didn't think splitting it lat time bought me much.


Attachment: CL_sd6_feature_test
Description: Text document

Attachment: patch_sd6_feature_test
Description: Text document

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]