$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [functional] New functor adaptors
From: Mathieu Champlon (m.champlon_at_[hidden])
Date: 2013-09-17 00:43:11
On 16/09/2013 20:11, Nathan Ridge wrote:
> I don't think anything beats the Boost.Phoenix syntax:
>
> std::transform(begin, end, out, 2 * _1 + 5);
>
>
To be totally fair it would be :
std::transform(begin, end, out, 2 * boost::phoenix::placeholders::_1 + 5);
Regards,
MAT.