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/yat/utility/concept_check.h

    r3550 r3569  
    239239    BOOST_CONCEPT_USAGE(DataIteratorConcept)
    240240    {
    241       BOOST_CONCEPT_ASSERT((TrivialIterator<T>));
     241      BOOST_CONCEPT_ASSERT((boost_concepts::ReadableIterator<T>));
     242      BOOST_CONCEPT_ASSERT((boost_concepts::SinglePassIterator<T>));
    242243      tag t;
    243244      constraints(t);
Note: See TracChangeset for help on using the changeset viewer.