Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 6 years ago

Language

C++

Compiler

clang 9.0.0

Options
Warnings
Boost 1.71.0
C++2a(GNU)
-pedantic-errors

Author

anonymous

over 6 years ago

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.71.0/clang-9.0.0/include -std=gnu++2a -pedantic-errors
prog.cc:20:22: error: member access into incomplete type 'with_prop'
                    p.method1();
                     ^
prog.cc:21:18: note: in instantiation of function template specialization 'table::operator()()::(anonymous class)::operator()(with_prop &)::(anonymous class)::operator()<with_prop>' requested here
                }(p);
                 ^
prog.cc:8:8: note: forward declaration of 'with_prop'
struct with_prop;
       ^
1 error generated.
Exit Code:
1