C++ Logo


Advanced search

Re: [SG10] Bump value of __cpp_lib_chrono for P0505R0?

From: Richard Smith <richard_at_[hidden]>
Date: Fri, 7 Apr 2017 13:20:27 -0700
On 31 March 2017 at 04:18, Jonathan Wakely <cxx_at_[hidden]> wrote:

> The macro is currently set to 201510 following P0092R1. In Kona
> P0505R0 added constexpr in a few more places, which are only very
> minor changes. I don't think we need a new macro, so setting the value
> to 201703 seems appropriate.
> Hmm, although this assumes nobody would implement the latter feature
> before the first. Both libstdc++ and libc++ have already implemented
> the P0092R1 changes, and VC++ doesn't seem to define any feature-test
> macros.

Bumping the value of the macro seems fine to me; we can instruct
implementers that they only use the value 201703 if they implement both
P0092R1 and P0505R0 if that case ever arises.

Received on 2017-04-07 22:20:51