dsharlet / array

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

Implicit conversion to scalar value for scalar shaped arrays? #32

Closed dsharlet closed 4 years ago

dsharlet commented 4 years ago

Should we have an operator reference() for scalar shapes? This is unfortunately annoying to actually implement (except with static_assert, which is a bit ugly).