main.cpp: In function ‘int main()’:
main.cpp:16:4: error: lambda-expression in template-argument
A<[](){
^
main.cpp:18:3: error: template argument 1 is invalid
}>::call();
^
main.cpp: In function ‘int main()’:
main.cpp:19:5: error: ‘main()::::_FUN’ is not a valid template argument for type ‘void (*)()’ because ‘static void main()::::_FUN()’ has no linkage
A::call();
^
ClosureType::operator ret(*)(params)()
ClosureType::operator ret(*)(params)()