Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 6 years ago

Language

C++

Compiler

gcc HEAD 10.0.0 20191030 (experimental)

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

Author

anonymous

about 6 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.71.0/gcc-head/include -std=gnu++2a
prog.cc: In instantiation of 'void Foo::f(T&) [with T = int; std::enable_if_t<is_trivially_copyable_v<T> >* <anonymous> = 0]':
prog.cc:17:10:   required from here
prog.cc:5:15: warning: unused parameter 'object' [-Wunused-parameter]
    5 |     void f(T& object) {}
      |            ~~~^~~~~~
Exit Code:
0