From: Evan Driscoll <drisc...@cs.wisc.edu>
Date: Wed, 20 Jun 2012 13:11:55 -0500
Local: Wed, Jun 20 2012 2:11 pm
Subject: Re: [Boost-users] Compilation errors when trying to use range adaptors with C++11 lambdas
On 06/20/2012 09:04 AM, boost-users-requ...@lists.boost.org wrote:
> 2012/6/20 Evan Driscoll<drisc...@cs.wisc.edu>:Thanks a lot; worked like a charm. Of course, in the interim I figured
>> When trying to compile the following:
>> std::vector<int> v;
>> I get a bunch of compile errors. If I replace the lambda with a function
> You must use
> C++11 lambda can't apply non decltype-base result_of.
out that the function will be rather more complicated than I thought so
I'm happier with it defined normally, but that'll be good to file away
for future reference. :-)
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.