HomeSort by relevance Sort by last modified time
    Searched full:iter_pair (Results 1 - 1 of 1) sorted by null

  /external/clang/test/SemaCXX/
for-range-examples.cpp 93 struct iter_pair { struct in namespace:map_range
95 iter_pair(T begin, T end) : begin_(begin), end_(end) {} function in struct:map_range::iter_pair
97 template<typename T> T begin(iter_pair<T> p) { return p.begin_; }
98 template<typename T> T end(iter_pair<T> p) { return p.end_; }
112 auto map(const F &f, T &t) -> iter_pair<map_iter<F, decltype(t.begin())>> {
114 return iter_pair<iter>(iter(f, t.begin()), iter(f, t.end()));

Completed in 69 milliseconds