Opened 10 years ago
Closed 10 years ago
#7194 closed Bugs (fixed)
Error in documentation of make_function_input_iterator
Reported by: | Owned by: | Dave Abrahams | |
---|---|---|---|
Milestone: | To Be Determined | Component: | iterator |
Version: | Boost 1.51.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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);
Note:
See TracTickets
for help on using tickets.
(In [80467]) fix #5825; fix #7194