Boost logo

Boost :

Subject: Re: [boost] painless currying
From: Daniel James (dnljms_at_[hidden])
Date: 2011-09-05 07:28:53


On 5 September 2011 12:10, Maxim Yanchenko
>
> I'm on Dave's side here: we should be explicit about the time when we want to
> trigger actual evaluation.

The problem is that existing generic algorithms won't trigger
evaluation, so currying couldn't be used with, say, std::transform.
That's why I would make partial application explicit, with a normal
function call causing evaluation. But I think that was considered too
verbose.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk