For multiple iterators, it would be good to have a less clunky syntax than Data1(), Data2(). Maybe we could use operator[ ] without loss of efficiency? Or can we do something natty with integer template arguments?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"I’m just wondering if there’s any reason why we don’t have pre-increment operators for DArray1dIterC and Rectangle2dIterC and probably other Iter classes?"
In particular he was interested in the conventions in C++ (STL??) for the differing return types for pre- and post-incrementers.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For multiple iterators, it would be good to have a less clunky syntax than Data1(), Data2(). Maybe we could use operator[ ] without loss of efficiency? Or can we do something natty with integer template arguments?
Peter Stroia-Williams offered this comment:
"I’m just wondering if there’s any reason why we don’t have pre-increment operators for DArray1dIterC and Rectangle2dIterC and probably other Iter classes?"
In particular he was interested in the conventions in C++ (STL??) for the differing return types for pre- and post-incrementers.
It would be convenient if there was an iterator that could iterate over a variable number of containers.