Boost logo

Boost :

Subject: Re: [boost] [iterator] Error in documentation
From: Jeffrey Lee Hellrung, Jr. (jeffrey.hellrung_at_[hidden])
Date: 2012-08-03 19:53:12


On Thu, Aug 2, 2012 at 10:14 AM, Gabriel Redner <gredner_at_[hidden]> wrote:

> In the boost::iterator documentation [1], the synopsis for
> make_function_input_iterator is missing the second 'state' argument.
> Specifically, this:
>
> template <class Function, class State>
> typename function_input_iterator<Function, State>
> make_function_input_iterator(Function & f);
>
> should be replaced by:
>
> template <class Function, class State>
> typename function_input_iterator<Function, State>
> make_function_input_iterator(Function & f, State state);
>

Thanks for the report; please file a trac ticket (if it's not already in
the database).

- Jeff


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