Author
anonymous
almost 8 years ago
Language
Compiler
Options
Author
anonymous
almost 8 years ago
$
prog.cc:10:22: error: call to implicitly-deleted default constructor of 'std::array<T, 0>'
std::array<T, 0> a;
^
/opt/wandbox/clang-head/include/c++/v1/array:137:16: note: default constructor of 'array<T, 0>' is implicitly deleted because field '__elems_' has a deleted default constructor
value_type __elems_[_Size > 0 ? _Size : 1];
^
prog.cc:5:5: note: 'T' has been explicitly marked deleted here
T() = delete;
^
1 error generated.
Exit Code:
1