Language
C++
Compiler
gcc HEAD 10.0.0 20191030 (experimental)
Options
Warnings
Boost 1.71.0
C++2a(GNU)
no pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.71.0/gcc-head/include -std=gnu++2a Exit Code:
0
Author
anonymous
about 6 years ago
C++
gcc HEAD 10.0.0 20191030 (experimental)
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) {}
| ~~~^~~~~~