Language
C++
Compiler
gcc 8.2.0
Options
Warnings
Boost 1.68.0
C++11
no pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/gcc-8.2.0/include -std=c++11
Exit Code:
1
Author
anonymous
about 6 years ago
C++
gcc 8.2.0
Author
anonymous
about 6 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/gcc-8.2.0/include -std=c++11
prog.cc:15:60: error: could not convert '{"test_name", <lambda closure object>test::<lambda()>{((test*)this)}}' from '<brace-enclosed initializer list>' to 'test::info'
info my_info { "test_name", [&]{return member_func();} };
^