Changeset 3385
- Timestamp:
- Mar 13, 2015, 8:55:49 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/utility/CigarIterator.h
r3372 r3385 5 5 6 6 /* 7 Copyright (C) 2014 Peter Johansson7 Copyright (C) 2014, 2015 Peter Johansson 8 8 9 9 This file is part of the yat library, http://dev.thep.lu.se/yat … … 25 25 #include "Cigar.h" 26 26 27 #include <boost/concept_check.hpp> 27 28 #include <boost/cstdint.hpp> 28 29 #include <boost/iterator/iterator_facade.hpp> 29 30 #include <boost/iterator/iterator_categories.hpp> 31 #include <boost/iterator/iterator_concepts.hpp> 30 32 31 33 #include <cstddef> // for size_t … … 94 96 95 97 template<typename BASE> 96 CigarIterator<BASE>::CigarIterator(void) {} 98 CigarIterator<BASE>::CigarIterator(void) 99 { 100 BOOST_CONCEPT_ASSERT((boost_concepts::ReadableIterator<BASE>)); 101 BOOST_CONCEPT_ASSERT((boost_concepts::BidirectionalTraversal<BASE>)); 102 } 97 103 98 104 99 105 template<typename BASE> 100 106 CigarIterator<BASE>::CigarIterator(BASE b, size_t x) 101 : base_(b), index_(x) {} 107 : base_(b), index_(x) 108 { 109 BOOST_CONCEPT_ASSERT((boost_concepts::ReadableIterator<BASE>)); 110 BOOST_CONCEPT_ASSERT((boost_concepts::BidirectionalTraversal<BASE>)); 111 } 102 112 103 113
Note: See TracChangeset
for help on using the changeset viewer.