Language
C++
Compiler
gcc HEAD 9.0.0 20190103 (experimental)
Options
Warnings
Boost 1.69.0
C++17
-pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/gcc-head/include -std=c++17 -pedantic
Exit Code:
0
Author
anonymous
over 6 years ago
C++
gcc HEAD 9.0.0 20190103 (experimental)
Author
anonymous
over 6 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/gcc-head/include -std=c++17 -pedantic
prog.cc: In instantiation of 'A<T>::A(const A<U>&) [with U = int; T = int]':
prog.cc:19:17: required from here
prog.cc:10:41: warning: unused parameter 'fellow' [-Wunused-parameter]
10 | template<typename U> A(A<U> const & fellow) { /* implementation here */ }
| ~~~~~~~~~~~~~^~~~~~