Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 7 years ago

Language

Compiler

Options

Author

anonymous

over 7 years ago

$
prog.cc:25:12: error: 'FunctionWrapper<Type, ReturnType, Args>::ingnorame' is not a template
     struct ingnorame
            ^~~~~~~~~
prog.cc:23:12: note: previous declaration here
     struct ingnorame;
            ^~~~~~~~~
prog.cc:25:12: note: perhaps you want to explicitly add 'FunctionWrapper<Type, ReturnType, Args>::'
     struct ingnorame
            ^~~~~~~~~
prog.cc: In member function 'ReturnType FunctionWrapper<Type, ReturnType, Args>::operator()(Type*, Args ...)':
prog.cc:17:9: error: 'FunctionWrapper<Type, ReturnType, Args>::ingnorame' is not a template
         ingnorame<decltype(*this)> temp{*this};
         ^~~~~~~~~
prog.cc: In instantiation of 'ReturnType FunctionWrapper<Type, ReturnType, Args>::operator()(Type*, Args ...) [with Type = POO; ReturnType = int; Args = {int}]':
prog.cc:55:33:   required from here
prog.cc:17:36: error: 'FunctionWrapper<POO, int, int>::ingnorame temp' has incomplete type
         ingnorame<decltype(*this)> temp{*this};
                                    ^~~~
prog.cc: In instantiation of 'ReturnType FunctionWrapper<Type, ReturnType, Args>::operator()(Type*, Args ...) [with Type = POO; ReturnType = void; Args = {int}]':
prog.cc:57:20:   required from here
prog.cc:17:36: error: 'FunctionWrapper<POO, void, int>::ingnorame temp' has incomplete type
Exit Code:
1