Subject: [Boost-bugs] [Boost C++ Libraries] #7194: Error in documentation of make_function_input_iterator
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-04 01:46:51
#7194: Error in documentation of make_function_input_iterator
-------------------------------+--------------------------------------------
Reporter: gredner@⦠| Owner: dave
Type: Bugs | Status: new
Milestone: To Be Determined | Component: iterator
Version: Boost 1.51.0 | Severity: Problem
Keywords: |
-------------------------------+--------------------------------------------
http://www.boost.org/doc/libs/1_50_0/libs/iterator/doc/function_input_iterator.html
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);
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7194> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC