MCPcopy Create free account
hub / github.com/ablab/spades / find_iterator

Function find_iterator

ext/include/boost/algorithm/string/find_iterator.hpp:123–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121 */
122 template<typename FinderT, typename RangeT>
123 find_iterator(
124 RangeT& Col,
125 FinderT Finder ) :
126 detail::find_iterator_base<IteratorT>(Finder,0)
127 {
128 iterator_range<BOOST_STRING_TYPENAME range_iterator<RangeT>::type> lit_col(::boost::as_literal(Col));
129 m_Match=::boost::make_iterator_range(::boost::begin(lit_col), ::boost::begin(lit_col));
130 m_End=::boost::end(lit_col);
131
132 increment();
133 }
134
135 private:
136 // iterator operations

Callers

nothing calls this directly

Calls 5

as_literalFunction · 0.85
make_iterator_rangeFunction · 0.85
incrementFunction · 0.70
beginClass · 0.50
endClass · 0.50

Tested by

no test coverage detected