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
> 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.


I'll fix it.

Fernando Cacciola

Boost list run by bdawes at, gregod at, cpdaniel at, john at