Ignore:
Timestamp:
Sep 22, 2007, 10:22:36 PM (16 years ago)
Author:
Peter
Message:

merged constIterator into Iterator and added an extra template parameter. There are problems with conversion from iterator to const_iterator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/iterator_test.cc

    r880 r881  
    4949  classifier::DataLookup1D lookup(vec);
    5050  utility::vector::iterator begin=vec.begin();
     51  // test iterator to const_iterator conversion
     52  utility::vector::const_iterator ci = vec.begin();
     53  ci = begin;
     54  //if (begin!=ci)
     55  //ok = false;
     56
    5157  utility::vector::iterator end=vec.end();
    5258  std::sort(begin, end);
Note: See TracChangeset for help on using the changeset viewer.