[LLVMdev] select1st, select2nd
scott.conger at gmail.com
Fri Jul 15 13:37:55 PDT 2011
I believe he's referring to this:
On Fri, Jul 15, 2011 at 1:29 PM, Chris Lattner <clattner at apple.com> wrote:
> On Jul 15, 2011, at 12:35 PM, David Greene wrote:
>> I've run into a use case where I'd like to use a mapped_iterator to
>> iterator the 1st (or 2nd) items in a sequence of std::pairs. Does
>> select1st/select2nd exist somewhere within LLVM or is there some
>> equivalent? If not, I'll add it.
> Is this making the resultant loop simpler? C++ without lambda's isn't very friendly to functors, what is the before/after effect of doing this?
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev