Searched refs:constant_it (Results 1 – 2 of 2) sorted by relevance
23 struct constant_it : boost::iterator_adaptor<constant_it,int const*> struct25 typedef boost::iterator_adaptor<constant_it,int const*> super_t; argument27 constant_it();28 explicit constant_it(int* p) : super_t(p) {} in constant_it() function29 constant_it(mutable_it const& x) : super_t(x.base()) {} in constant_it() argument31 bool equal(constant_it const& rhs) const in equal() argument42 constant_it j(data + 1); in main()50 constant_it k = i; in main()
81 struct constant_it : iterator_adaptor<constant_it, int const*> { struct82 typedef iterator_adaptor<constant_it, int const*> super_t; argument84 constant_it();85 explicit constant_it(int* p) : super_t(p) {} in constant_it() argument86 constant_it(mutable_it const& x) : super_t(x.base()) {} in constant_it() function88 bool equal(constant_it const& rhs) const { return this->base() == rhs.base(); } in equal() argument171 constant_it j(data + 1); in main()179 constant_it k = i; in main()