LINUX.ORG.RU

История изменений

Исправление merhalak, (текущая версия) :

The closure type for a lambda-expression with no lambda-capture has a public non-virtual non-explicit const conversion function to pointer to function having the same parameter and return types as the closure type’s function call operator. The value returned by this conversion function shall be the address of a function that, when invoked, has the same effect as invoking the closure type’s function call operator.

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3337.pdf

Раздел 5.1.2 примечание 6.

Так что компилироваться по стандарту должно как бы.

Исходная версия Deleted, :

The closure type for a lambda-expression with no lambda-capture has a public non-virtual non-explicit const conversion function to pointer to function having the same parameter and return types as the closure type’s function call operator. The value returned by this conversion function shall be the address of a function that, when invoked, has the same effect as invoking the closure type’s function call operator.

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3337.pdf

Раздел 5.1.2 примечание 6.