C++ Logo

sg10

Advanced search

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

From: Casey Carter <cartec69_at_[hidden]>
Date: Fri, 31 May 2019 13:42:00 -0700
Ping.

Is this one someone's plate for Cologne, or does it need to be on mine?

On Fri, Mar 1, 2019 at 9:04 AM Hubert Tong <hubert.reinterpretcast_at_[hidden]>
wrote:

> I'm still hoping for some SG10 guidance on whether we want to query on
> what -> *Concept* does separately from whether *Concept* auto is
> available. There is also static_assert(C<T>) in the mix somewhere.
>
> -- HT
>
> On Fri, Mar 1, 2019 at 8:45 AM John Spicer <jhs_at_[hidden]> wrote:
>
>> 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
>>
>> _______________________________________________
>> Features mailing list
>> Features_at_[hidden]
>> http://www.open-std.org/mailman/listinfo/features
>>
> _______________________________________________
> Core mailing list
> Core_at_[hidden]
> Subscription: http://lists.isocpp.org/mailman/listinfo.cgi/core
> Link to this post: http://lists.isocpp.org/core/2019/03/5632.php
>

Received on 2019-05-31 22:42:14