
Hi Neil, Thanks for letting me know. I am enjoying using your library. Thanks for making it available and good luck with reviews. -sandeep On Thu, Mar 19, 2009 at 9:00 AM, Neil Groves <neil@grovescomputing.com> wrote:
Dear Sandeep,
On Thu, Mar 19, 2009 at 3:38 PM, Sandeep Gupta <gupta.sandeep@gmail.com>wrote:
Hi, I would be nice if range-transformed worked with lambda functions. Is this an intended behaviour. To illustrate the following two statements fail
for_each(myvec|boost::adaptors::transformed(arg1+mask), std::cout<<arg1<<' '); for_each(myvec|boost::adaptors::transformed(boost::lambda::_1 + mask), std::cout<<boost::lambda::_1<<' ');
But this is fine: for_each(myvec|boost::adaptors::transformed(double_int()), std::cout<<boost::lambda::_1<<' '); where double_int hand created function object with result_type declaration.
I am very happy to extend the code to support lambda functions in the adaptors. I will announce when I have made the necessary modifications.
I have quite a list of good suggestions for changes to accomodate as a result of the recent review. So this may take a couple of weeks.
Thanks sandeep
Thank you for your patience, Neil Groves _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost