Changeset 3387 for trunk/test/merge_iterator.cc
- Timestamp:
- Mar 16, 2015, 2:47:55 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/merge_iterator.cc
r2995 r3387 24 24 25 25 #include "yat/utility/MergeIterator.h" 26 27 #include <boost/iterator/iterator_archetypes.hpp> 26 28 27 29 #include <algorithm> … … 112 114 113 115 116 void test4(test::Suite& suite) 117 { 118 // avoid running compilation test 119 if (false) { 120 typedef boost::less_than_comparable_archetype 121 <boost::copy_constructible_archetype<> > value_type; 122 typedef boost::iterator_archetypes::readable_iterator_t access_type; 123 typedef boost::single_pass_traversal_tag traversal_type; 124 125 typedef boost::iterator_archetype<value_type, access_type, traversal_type> 126 base; 127 utility::MergeIterator<base> it; 128 test::test_readable_iterator(it); 129 test::test_single_pass_iterator(it); 130 } 131 } 132 133 114 134 int main(int argc, char* argv[]) 115 135 { … … 118 138 test2(suite); 119 139 test3(suite); 140 test4(suite); 120 141 return suite.return_value(); 121 142 }
Note: See TracChangeset
for help on using the changeset viewer.