2 Jan
2022
2 Jan
'22
2:58 p.m.
On Sun, Jan 2, 2022 at 3:21 PM John Maddock via Boost <boost@lists.boost.org> wrote:
Just thinking out loud here, can std::initializer_list help?
You mean adding a constructor with that takes the std::initializer_list of N-1 dimensional arrays? That *might *work, but it breaks the "aggregate-ness" since aggregate can not have user provided constructors :/ https://godbolt.org/z/zfrba368M Shame since I ♥ this syntax: arr<int, 3, 2> a2 = {{10,20},{30,40}, {50,60}};