Home
last modified time | relevance | path

Searched refs: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
27 constant_it();
28 explicit constant_it(int* p) : super_t(p) {} in constant_it() function
29 constant_it(mutable_it const& x) : super_t(x.base()) {} in constant_it() argument
31 bool equal(constant_it const& rhs) const in equal() argument
42 constant_it j(data + 1); in main()
50 constant_it k = i; in main()
/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
84 constant_it();
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() function
88 bool equal(constant_it const& rhs) const { return this->base() == rhs.base(); } in equal() argument
171 constant_it j(data + 1); in main()
179 constant_it k = i; in main()