Home
last modified time | relevance | path

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

/third_party/boost/libs/unordered/test/helpers/
Dinput_iterator.hpp27 template <class Iterator> struct input_iterator_adaptor struct
29 typedef typename std::iterator_traits<Iterator>::value_type value_type;
30 typedef typename std::iterator_traits<Iterator>::pointer pointer;
31 typedef proxy<Iterator> reference;
32 typedef std::ptrdiff_t difference_type;
33 typedef std::input_iterator_tag iterator_category;
35 input_iterator_adaptor() : base_() {} in input_iterator_adaptor() argument
36 explicit input_iterator_adaptor(Iterator& it) : base_(&it) {} in input_iterator_adaptor() argument
37 proxy<Iterator> operator*() const { return proxy<Iterator>(**base_); } in operator *()
38 value_type* operator->() const { return &**base_; } in operator ->()
[all …]