Changeset 3374


Ignore:
Timestamp:
Feb 11, 2015, 8:31:21 AM (7 years ago)
Author:
Peter
Message:

improve test diagnosis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/iterator.cc

    r3330 r3374  
    4646
    4747#include <boost/concept_archetype.hpp>
     48#include <boost/iterator/iterator_traits.hpp>
    4849#include <boost/iterator/transform_iterator.hpp>
    4950
     
    361362  if (false) {
    362363    typedef test::weighted_iterator_archetype<Access, Traversal> I;
     364    // test that boost trait class works
     365    typedef boost::iterator_value<I>::type value_type;
    363366    theplu::yat::utility::weighted_iterator_traits<I>::type tag;
    364367    test::avoid_compiler_warning(tag);
     
    367370    typedef double Value;
    368371    typedef boost::iterator_archetype<Value, Access, Traversal> I;
     372    // test that boost trait class works
     373    typedef boost::iterator_value<I>::type value_type;
    369374    theplu::yat::utility::weighted_iterator_traits<I>::type tag;
    370375    test::avoid_compiler_warning(tag);
Note: See TracChangeset for help on using the changeset viewer.