Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 6 years ago

Language

C++

Compiler

gcc HEAD 10.0.0 20190605 (experimental)

Options
Don't Use Boost
C++11
no pedantic

Author

anonymous

about 6 years ago

$ g++ prog.cc -std=c++11
prog.cc:5:27: error: cannot convert 'void (s::*)() const volatile &&' to 'void (s::*)() const volatile' in initialization
    5 | abominable s::* ptr = &s::f;
      |                           ^
Exit Code:
1