cppannotations/annotations/yo/stl/lambdaconstexpr.yo
2016-11-16 16:25:42 +01:00

5 lines
250 B
Text

The C++17 standard allows lambda expressions to be
hi(lambda: constexpr) constant expressions. They can be either explicitly
or implicitly be defined as constant expressions.
A lambda expression can be used inside a constant expression if