Home
last modified time | relevance | path

Searched defs:constant_it (Results 1 – 2 of 2) sorted by relevance

/third_party/boost/libs/iterator/test/
Dinteroperable.cpp23 struct constant_it : boost::iterator_adaptor<constant_it,int const*> struct
25 typedef boost::iterator_adaptor<constant_it,int const*> super_t; argument
28 explicit constant_it(int* p) : super_t(p) {} in constant_it() argument
29 constant_it(mutable_it const& x) : super_t(x.base()) {} in constant_it() function
31 bool equal(constant_it const& rhs) const in equal() argument
/third_party/boost/libs/histogram/test/
Ddetail_iterator_adaptor_test.cpp81 struct constant_it : iterator_adaptor<constant_it, int const*> { struct
82 typedef iterator_adaptor<constant_it, int const*> super_t; argument
85 explicit constant_it(int* p) : super_t(p) {} in constant_it() argument
86 constant_it(mutable_it const& x) : super_t(x.base()) {} in constant_it() argument
88 bool equal(constant_it const& rhs) const { return this->base() == rhs.base(); } in equal() argument