This is the mail archive of the libstdc++@gcc.gnu.org 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]

Re: [PATCH. libstdc++] Use the correct C++14 __cplusplus value (201402L). Added C++1z to the preprocessor.


Hi again,

On 08/26/2014 10:54 AM, Paolo Carlini wrote:
Hi,

On 08/26/2014 10:52 AM, Jonathan Wakely wrote:
That seems like a good idea, but I'm not convinced there's any benefit
in Ed's changes to do:

-#if __cplusplus > 201103L
+#if __cplusplus >= 201402L

It seems like unnecessary churn to me,
about this, I had the same thought ;)
By the way, in case isn't already clear, it occurs to me that the kind of change proposed by Ed, thus standardize on __cplusplus >= "required version", will make more sense when the C++17 Standard will be closer. So far, since we can simply do everything with only 201103L, my idea too of adding _GLIBCXX_CXX11 & co seems quite pointless.

Paolo.


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