Menu

iterators

2009-04-22
2013-05-30
  • Bill Christmas

    Bill Christmas - 2009-04-22

    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?

     
    • Bill Christmas

      Bill Christmas - 2009-04-23

      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.

       
    • Bill Christmas

      Bill Christmas - 2009-05-18

      It would be convenient if there was an iterator that could iterate over a variable number of containers.

       

Log in to post a comment.