Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 7 years ago

Language

C++

Compiler

clang 8.0.0

Options
Warnings
Don't Use Boost
C++17
-pedantic-errors

Author

anonymous

over 7 years ago

nameof.hpp

$ clang++ prog.cc -Wall -Wextra -std=c++17 -pedantic-errors
RED
RED
structvar
structvar
somefield
somefield
field
SomeMethod1
SomeMethod2
SomeMethod3
SomeMethod4
SomeMethod4
SomeMethod4<int, float>
SomeMethod5
SomeMethod6
SomeMethod6<long int>
SomeStruct
SomeStruct
Long::LL
SomeClass<int>
Long::LL
const SomeClass<int> &&
const volatile SomeClass<int> *
SomeClass<int>
SomeClass<int>
__LINE__
structvar.somefield
&SomeStruct::SomeMethod1
const SomeClass<int> volatile *
SomeMethod4<int, SomeStruct>(SomeStruct value)
y should not be zero!
Exit Code:
0