prog.cpp: In function 'int main(int, char**)':
prog.cpp:16:27: error: no matching function for call to 'my_array<int, 1>::my_array(<brace-enclosed initializer list>)'
my_array<int, 1> b{{1, 2}};
^
prog.cpp:8:12: note: candidate: constexpr my_array<T, N>::my_array(const std::array<T, N>&) [with T = int; int N = 1]
constexpr my_array(const std::array<T, N> & l)
^
prog.cpp:8:12: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const std::array<int, 1u>&'
prog.cpp:5:8: note: candidate: constexpr my_array<int, 1>::my_array(const my_array<int, 1>&)
struct my_array
^
prog.cpp:5:8: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const my_array<int, 1>&'
prog.cpp:5:8: note: candidate: constexpr my_array<int, 1>::my_array(my_array<int, 1>&&)
prog.cpp:5:8: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'my_array<int, 1>&&'