Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 8 years ago

Language

Compiler

Options

Author

anonymous

almost 8 years ago

$
prog.cc:6:42: warning: friend declaration 'constexpr int adl_flag(flag<N>)' declares a non-template function [-Wnon-template-friend]
     friend constexpr int adl_flag(flag<N>);
                                          ^
prog.cc:6:42: note: (if this is not what you intended, make sure the function template has already been declared and add <> after the function name here) 
prog.cc: In function 'int main()':
prog.cc:45:34: error: aggregate 'TD<object<int, 0, 0>, object<int, 0, 1> > t' has incomplete type and cannot be defined
     TD<decltype(a), decltype(b)> t;
                                  ^
Exit Code:
1