Boost logo

Boost :

Subject: Re: [boost] Compile Time String in C++14
From: Adam Wulkiewicz (adam.wulkiewicz_at_[hidden])
Date: 2014-08-27 07:32:14


Mikael Persson wrote:
>
> $5.1.2/2:
> "A lambda expression shall not appear in an unevaluated operand"
> ...
> That pretty much closes off your proposed avenue, doesn't it?

Only in the case of metaprograms. The proposed technique still may be
used in a place where a lambda expression could be evaluated, so when
it's passed as a function parameter and the return type is deduced in
compile-time.

Regards,
Adam


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk