dsharlet / array

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

Remove operator() for index_type/tuple indices. #58

Closed dsharlet closed 3 years ago

dsharlet commented 3 years ago

This reduces the number of overloads of operator(), which makes errors resulting from operator() misuse less verbose.

operator[] remains, so fixing breakages that result from this change is just a matter of changing a(i) to a[i].