Searched defs:input_iterator_adaptor (Results 1 – 1 of 1) sorted by relevance
27 template <class Iterator> struct input_iterator_adaptor struct29 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() argument36 explicit input_iterator_adaptor(Iterator& it) : base_(&it) {} in input_iterator_adaptor() argument37 proxy<Iterator> operator*() const { return proxy<Iterator>(**base_); } in operator *()38 value_type* operator->() const { return &**base_; } in operator ->()[all …]