C++ Logo

std-discussion

Advanced search

Re: Lambda inside concept

From: Christof Meerwald <cmeerw_at_[hidden]>
Date: Fri, 12 Jan 2024 22:37:22 +0100
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.

[...]
> 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

-- 
https://cmeerw.org                             sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org                   xmpp:cmeerw at cmeerw.org

Received on 2024-01-12 21:37:25