dsharlet / array

C++ multidimensional arrays in the spirit of the STL
Apache License 2.0
198 stars 15 forks source link

Shape constructors are ambiguous for 1D shapes #16

Closed dsharlet closed 4 years ago

dsharlet commented 4 years ago

shape(std::tuple<Dims...>) and shape(Dims... dims) are ambiguous when Dims... has one dim in it. This makes it a hassle to declare and work with 1D arrays.