Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 6 years ago

Language

C++

Compiler

gcc 8.2.0

Options
Warnings
Boost 1.68.0
C++11
no pedantic

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();} };
                                                            ^
Exit Code:
1