Access to constexpr variable inside lambda expression without capturing – stackoverflow.com

In the following example, I can access the constexpr variable x from inside the lambda y without explicitly capturing it. This is not possible if x is not declared as constexpr. Are there special ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Access to constexpr variable inside lambda expression without capturing – stackoverflow.com"