C++ Logo

sg10

Advanced search

Re: [SG10] No __cpp_concepts in the C++20 draft

From: John Spicer <jhs_at_[hidden]>
Date: Fri, 1 Mar 2019 08:45:00 -0500
That seems appropriate to me (copying the core reflector).

John.

> On Mar 1, 2019, at 7:21 AM, Jonathan Wakely <cxx_at_[hidden]> wrote:
>
> The working draft doesn't specify a __cpp_concepts macro. I want to know if I need to say "concept bool" or just "concept", so I expected to be able to do:
>
> #if __cpp_concepts
> template<typename T>
> concept
> #if __cpp_concepts <= 201507
> bool
> #endif
> Foo = ...;
> #endif
>
> Should this be handled by a core issue?
>
> _______________________________________________
> Features mailing list
> Features_at_[hidden]
> http://www.open-std.org/mailman/listinfo/features

Received on 2019-03-01 14:45:04