Boost logo

Boost :

Subject: Re: [boost] [fusion] Algorithm/auxillary documentation
From: Joel de Guzman (joel_at_[hidden])
Date: 2011-09-10 03:31:54


On 9/10/2011 3:01 PM, TONGARI wrote:
> 2011/9/10 Joel de Guzman <joel_at_[hidden]>

>>> Out of curious, why does algorithm like 'for_each' has metafunction but
>>> 'copy' doesn't?
>>> Though I need neither of them :P
>>
>> Maybe you want copy_if ? Not sure about the semantics though.
>> Is it simply: copy(filter_if<Pred>(c), dest) ? I'm not sure.
>>
>
> No. I meant there's result_of::for_each but no result_of::copy.

Ah, ok. Well patch welcome :)

> BTW, it's time to close https://svn.boost.org/trac/boost/ticket/5760 ?

Done.

Regards,

-- 
Joel de Guzman
http://www.boostpro.com
http://boost-spirit.com

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