Skip to content
  • Mark Olesen's avatar
    PackedList iterator bugfix · dbc9b742
    Mark Olesen authored
    - compare iteratorBase == iteratorBase by value, not position
      thus this works
          list[a] == list[b] ...
    
    - compare iterator == iteratorBase and const_iterator == iteratorBase
      by position, not value. The inheritance rules means that this works:
          iter == list.end() ...
      this will compare positions:
          iter == list[5];
      Of course, this will still compare values:
          *iter == list[5];
    dbc9b742