C++ Logo

sg10

Advanced search

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

From: Jonathan Wakely <cxx_at_[hidden]>
Date: Fri, 1 Mar 2019 12:21:11 +0000
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?

Received on 2019-03-01 13:21:24