search for: getreversed

Displaying 2 results from an estimated 2 matches for "getreversed".

2014 Mar 05
2
[LLVMdev] [cfe-dev] C++11 reverse iterators (was C++11 is here)
On 2014 Mar 2, at 22:27, Chandler Carruth <chandlerc at google.com> wrote: > > On Sun, Mar 2, 2014 at 10:13 PM, Saleem Abdulrasool <compnerd at compnerd.org> wrote: > On Sun, Mar 2, 2014 at 9:26 PM, Chris Lattner <sabre at nondot.org> wrote: > > On Mar 2, 2014, at 8:53 PM, Renato Golin <renato.golin at linaro.org> wrote: > > > On 3 March 2014
2014 Mar 05
3
[LLVMdev] [cfe-dev] C++11 reverse iterators (was C++11 is here)
...emplate <class Iterator> iterator_range<Iterator> reversed(const reversed_range<Iterator> &R) { return make_range(R.end().base(), R.begin().base()); } IMO, Adaptors are more akin to accessors than they are to algorithms. If it has to be a verb, then I think getReversed() is better than reverse().