Searched defs:copy_iterator_adaptor (Results 1 – 1 of 1) sorted by relevance
65 template <class Iterator> struct copy_iterator_adaptor struct67 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() argument76 explicit copy_iterator_adaptor(Iterator const& it) : base_(it) {} in copy_iterator_adaptor() argument77 value_type operator*() const { return *base_; } in operator *()78 value_type* operator->() const { return &*base_; } in operator ->()[all …]