Ignore:
Timestamp:
Feb 2, 2008, 10:29:29 PM (14 years ago)
Author:
Peter
Message:

going back to previous design in which view and const_view are in different classes. Having them in same didnt work as expected. There is a problem converting vector::iterator to vector::const_iterator. I'll open a separate ticket for this issue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/iterator_test.cc

    r1000 r1027  
    5353  utility::vector::iterator begin=vec.begin();
    5454  // test iterator to const_iterator conversion
     55  ///////////////////////////////////////////////////////
     56  /* const conversion doesn't work for new vector structure
    5557  utility::vector::const_iterator ci = vec.begin();
    5658  ci = begin;
    5759  if (begin!=ci)
    5860    ok = false;
    59  
     61  */ 
     62  ///////////////////////////////////////////////////////
    6063  utility::vector::iterator end=vec.end();
    6164  std::sort(begin, end);
Note: See TracChangeset for help on using the changeset viewer.