Language
C++
Compiler
gcc HEAD 15.0.0 20241103 (experimental)
Options
Warnings
Don't Use Boost
C++2b(GNU)
no pedantic
$ g++ prog.cc -Wall -Wextra -std=gnu++2b
vector overload
Exit Code:
0
Author
anonymous
5 months ago
C++
gcc HEAD 15.0.0 20241103 (experimental)
Author
anonymous
5 months ago
$ g++ prog.cc -Wall -Wextra -std=gnu++2b
prog.cc: In function 'void f(std::vector<const int*>)':
prog.cc:4:32: warning: unused parameter 'v' [-Wunused-parameter]
4 | void f(std::vector<const int*> v)
| ~~~~~~~~~~~~~~~~~~~~~~~~^
prog.cc: In function 'void f(const int*)':
prog.cc:14:19: warning: unused parameter 'i' [-Wunused-parameter]
14 | void f(const int* i)
| ~~~~~~~~~~~^
vector overload