Language
C++
Compiler
gcc HEAD 9.0.0 20190112 (experimental)
Options
Warnings
Boost 1.69.0
C++2a(GNU)
no pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/gcc-head/include -std=gnu++2a
Exit Code:
0
Author
anonymous
over 6 years ago
C++
gcc HEAD 9.0.0 20190112 (experimental)
Author
anonymous
over 6 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/gcc-head/include -std=gnu++2a
prog.cc: In function 'int main()':
prog.cc:24:38: warning: unused variable 'a' [-Wunused-variable]
24 | my_array<std::pair<int, int>, 2> a {{ {1,2}, {3,4} }};
| ^
prog.cc:25:38: warning: unused variable 'b' [-Wunused-variable]
25 | special<std::pair<int, int>> b {{{ {1,2}, {3,4} }}};
| ^