Language
C++
Compiler
gcc 9.1.0
Options
Warnings
Boost 1.70.0
C++03
no pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.70.0/gcc-9.1.0/include -std=c++98
1 2 3 4
5 6 7 8
Exit Code:
0
Author
anonymous
about 6 years ago
C++
gcc 9.1.0
Author
anonymous
about 6 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.70.0/gcc-9.1.0/include -std=c++98
prog.cc: In function 'int main()':
prog.cc:38:31: warning: extended initializer lists only available with '-std=c++11' or '-std=gnu++11'
38 | nd_view<int,2> vw( data, { 4, 2 } );
| ^
prog.cc:38:40: warning: extended initializer lists only available with '-std=c++11' or '-std=gnu++11'
38 | nd_view<int,2> vw( data, { 4, 2 } );
| ^
1 2 3 4
5 6 7 8