Changeset 3548 for trunk/yat/utility/concept_check.h
- Timestamp:
- Jan 1, 2017, 5:56:44 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/utility/concept_check.h
r3536 r3548 27 27 28 28 #include "iterator_traits.h" 29 #include "WeightedIteratorArchetype.h" 29 30 30 31 #include <boost/concept_archetype.hpp> 31 32 #include <boost/concept_check.hpp> 33 #include <boost/iterator/iterator_archetypes.hpp> 32 34 #include <boost/iterator/iterator_concepts.hpp> 33 35 … … 281 283 BOOST_CONCEPT_USAGE(DistanceConcept) 282 284 { 283 boost::forward_iterator_archetype<double> unweighted; 284 boost::forward_iterator_archetype<DataWeight> weighted; 285 using boost::iterator_archetypes::readable_iterator_t; 286 using boost::forward_traversal_tag; 287 boost::iterator_archetype<double, readable_iterator_t, 288 forward_traversal_tag> unweighted; 289 WeightedIteratorArchetype<readable_iterator_t, forward_traversal_tag> 290 weighted; 285 291 double d=0; 286 292 d += distance_(unweighted, unweighted, unweighted);
Note: See TracChangeset
for help on using the changeset viewer.