|
Boost : |
From: Roland Richter (roland_at_[hidden])
Date: 2004-04-19 02:50:21
Vladimir Prus wrote:
>>
>> filter_view<Vertices, ...> filtered( vertices(g), bind(...) == 0 );
>> transform_view< filter_view<.,.>, ... > result( filtered,
>> some_function() );
>
Yes, you are right.
At some point you have to call a for_each()-like function,
so it's a matter of taste (and performance, probably) when
to do it.
- Roland
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk