Boost logo

Boost :

Subject: [boost] [iterator] Error in documentation
From: Gabriel Redner (gredner_at_[hidden])
Date: 2012-08-02 13:14:34


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,
-Gabe

[1] http://www.boost.org/doc/libs/1_50_0/libs/iterator/doc/function_input_iterator.html


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