Ignore:
Timestamp:
Jan 9, 2017, 4:43:08 AM (6 years ago)
Author:
Peter
Message:

std::iterator_traits<T>::value_type does not work on OSX when T is an
incrementable iterator (not single pass). As this must work for an
iterator that models concept Data Iterator, add single pass iterator
as an requirement, test for it in the concept check class (plus a few
more fixes) and turn off the test in
'test/weighted_iterator_archetype.cc'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.14-stable/test/weighted_iterator_archetype.cc

    r3550 r3569  
    167167  // this is a compilation test - do not run
    168168  if (false) {
    169     test1<boost::incrementable_traversal_tag>();
     169    // On some systems std::iterator_traits<>::value_type does not
     170    // work, so we require concept Data Iterator to be single pass.
     171    //test1<boost::incrementable_traversal_tag>();
    170172    test1<boost::single_pass_traversal_tag>();
    171173    test1<boost::forward_traversal_tag>();
Note: See TracChangeset for help on using the changeset viewer.