C++ Logo

std-discussion

Advanced search

Re: Lambda inside concept

From: Federico Kircheis <federico_at_[hidden]>
Date: Sat, 13 Jan 2024 12:11:00 +0100
On 12/01/2024 22.37, Christof Meerwald wrote:
> On Fri, Jan 12, 2024 at 10:24:45PM +0100, Federico Kircheis via Std-Discussion wrote:
> [...]
>> Thus my first question is, is how I am using the lambda incorrect?
>
> https://cplusplus.github.io/CWG/issues/2672.html recently clarified
> that a lambda body is not in the immediate context.

I see, thank you very much.

>
> [...]
>> Supposing that using a lambda is not correct, here comes my second question:
>> Is it possible to express as a concept that a structure can be decomposed in
>> one (or N) elements?
>
> Don't think it is...
>
>
> Christof
>

Received on 2024-01-13 11:11:07