Boost logo

Boost :

From: Doug Gregor (dgregor_at_[hidden])
Date: 2004-12-02 14:22:28


On Dec 2, 2004, at 1:35 PM, Jody Hagins wrote:
> What about a specialization for NO combiner (if you are worried about
> results being "forgotten" then maybe deduce it if the return type is
> void. This would still allow everything to work properly when you want
> a combiner (and it can always be optimized later ;-). In addition, it
> would allow users to not have to pay the expense of combiner stuff if
> they are not using it anyway...

We could specialize based on last_value<void>, which is essentially not
a combiner. It's worth trying.

        Doug


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