Home
last modified time | relevance | path

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

/third_party/boost/libs/unordered/test/helpers/
Dinput_iterator.hpp65 template <class Iterator> struct copy_iterator_adaptor struct
67 typedef typename std::iterator_traits<Iterator>::value_type value_type;
69 typename std::iterator_traits<Iterator>::difference_type difference_type;
71 iterator_category;
72 typedef typename std::iterator_traits<Iterator>::pointer pointer;
73 typedef proxy<Iterator> reference;
75 copy_iterator_adaptor() : base_() {} in copy_iterator_adaptor() argument
76 explicit copy_iterator_adaptor(Iterator const& it) : base_(it) {} in copy_iterator_adaptor() argument
77 value_type operator*() const { return *base_; } in operator *()
78 value_type* operator->() const { return &*base_; } in operator ->()
[all …]