prog.cpp: In instantiation of 'SequenceContainerWrapper<Container>::SequenceContainerWrapper(std::initializer_list<typename Container::value_type>) [with Container = std::array<int, 4u>; typename Container::value_type = int]':
prog.cpp:21:55: required from here
prog.cpp:14:74: error: no matching function for call to 'std::array<int, 4u>::array(std::initializer_list<int>&)'
SequenceContainerWrapper(initializer_list<value_type> init) : cont(init) {}
^
In file included from prog.cpp:1:0:
/usr/include/c++/5/array:89:12: note: candidate: std::array<int, 4u>::array()
struct array
^
/usr/include/c++/5/array:89:12: note: candidate expects 0 arguments, 1 provided
/usr/include/c++/5/array:89:12: note: candidate: constexpr std::array<int, 4u>::array(const std::array<int, 4u>&)
/usr/include/c++/5/array:89:12: note: no known conversion for argument 1 from 'std::initializer_list<int>' to 'const std::array<int, 4u>&'
/usr/include/c++/5/array:89:12: note: candidate: constexpr std::array<int, 4u>::array(std::array<int, 4u>&&)
/usr/include/c++/5/array:89:12: note: no known conversion for argument 1 from 'std::initializer_list<int>' to 'std::array<int, 4u>&&'