/in/foo.cc: In function 'int main()':
/in/foo.cc:12:9: warning: lambda capture initializers only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions]
12 | [&, i = 0]() mutable {
| ^
/in/foo.cc: In lambda function:
/in/foo.cc:16:13: error: 'operator()' not defined
16 | operator()();
| ^~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:23:9: warning: lambda capture initializers only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions]
23 | [&, i = 0]() mutable {
| ^
/in/foo.cc: In lambda function:
/in/foo.cc:31:13: error: 'operator()' not defined
31 | operator()();
| ^~~~~~~~~~