|
Boost : |
From: Fredrik Blomqvist (fredrik_blomqvist_at_[hidden])
Date: 2003-12-04 06:00:26
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.)
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 ;-)
Regards
//Fredrik Blomqvist
Fernando Cacciola wrote:
> I finally got around to update the Boost.Optional documentation to
> reflect recent additions.
> The new doc contains a _new_ intoduction that tries to better present
> the library interface w.r.t to its models and purpose.
>
> I purposedly left out some points about optional references since
> these are most likely unused by every user but Joel de Guzman, and,
> as we already discussed, the semantics of optional<T&> assignment
> WILL change after
> 1.30.2.
>
> Enjoy,
>
> 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