|
Boost : |
Subject: Re: [boost] Phoenix v3 review
From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2011-02-25 07:37:49
On 25/02/11 13:31, Mathias Gaunard wrote:
>>> This method is massively used to define a whole lot of lazy functions
>>> that forward to standard algorithms and container functions [3], which
>>> suggests that this is indeed the recommended way to proceed.
>>> It should however be avoided; prefer defining a template function that
>>> constructs and applies the adapted function object, if the function
>>> object can stay a POD that's better too.
>>
>> Do you have concrete proposal how this could look like?
>> If there is no significant impact on (compile and runtime) performance
>> of the points you mentioned above, it will stay as it is for now.
>
> I'll let Joel Falcou do that.
>
basically everything possible should go through make_expr internally.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk