From: shunsuke (pstade.mb_at_[hidden])
Date: 2008-03-30 18:18:09
Giovanni Piero Deretta wrote:
> OTOH, refactoring a lambda on a separate function object is a pain if
> you have to figure out the result of a complex composition
> of polymorphic function objects (result_of helps only to a point). For
> example, what is the result of:
> filter_view(reverse_view(mapped_view(range, op)), filter)
> (I often find much more complex expressions in my code).
BTW, how about this:
return_of is a simple wrapper around result_of.
A problem is that a function type is decayed to function pointer.
-- Shunsuke Sogame
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk