Boost logo

Boost :

From: Fernando Cacciola (fernando_cacciola_at_[hidden])
Date: 2003-12-05 07:46:13


Fredrik Blomqvist <fredrik_blomqvist_at_[hidden]> wrote in message
news:bqn421$sk0$1_at_sea.gmane.org...
> Hi
>
> While glancing through the latest update I noticed that the template
> argument ordering for the adaptable functors in compare_pointees.hpp is
> incorrect.
>
> struct equal_pointees_t :
> std::binary_function<bool,OptionalPointee,OptionalPointee>
> ^^^^
> (result_type should be last)
> (same for less_pointees_t and also in the docs.)
>
Oh, thanks for spotting this!

> I've personally adopted the convention of actually using the inherited
> first_argument_type, result_type etc in the function-call operator
> declaration to make the connection explicit.
> (another "argument" for the recently applied function_traits addition I
> guess ;-)
>
Reasonable convention.

Thanks.

I'll fix it.

Fernando Cacciola
SciSoft


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