Language
Compiler
Options
$
vector: 1 2 3 4 5 6
array: 1 2 3 4 5 6
list: 1 2 3 4 5 6
fwd_list: 1 2 3 4 5 6
deque: 1 2 3 4 5 6
Exit Code:
0
Author
anonymous
about 8 years ago
Author
anonymous
about 8 years ago
$
prog.cc:33:21: warning: suggest braces around initialization of subobject [-Wmissing-braces]
array<int, 6> a { 1, 2, 3, 4, 5, 6 };
^~~~~~~~~~~~~~~~
{ }
1 warning generated.
vector: 1 2 3 4 5 6
array: 1 2 3 4 5 6
list: 1 2 3 4 5 6
fwd_list: 1 2 3 4 5 6
deque: 1 2 3 4 5 6