Subject: [Boost-bugs] [Boost C++ Libraries] #7585: Boost.Range Adaptors indexed: mistake in online documentation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-28 02:16:55
#7585: Boost.Range Adaptors indexed: mistake in online documentation
---------------------------------------------------------+------------------
Reporter: Evgeny Panasyuk <evgeny.panasyuk@â¦> | Owner: neilgroves
Type: Bugs | Status: new
Milestone: To Be Determined | Component: range
Version: Boost 1.51.0 | Severity: Cosmetic
Keywords: range doc |
---------------------------------------------------------+------------------
http://www.boost.org/doc/libs/1_51_0/libs/range/doc/html/range/reference/adaptors/reference/indexed.html
1.
Pipe rng | boost::adaptors::indexed
should be:
Pipe rng | boost::adaptors::indexed(start_index)
2.
Function boost::adaptors::index(rng)
should be:
Function boost::adaptors::index(rng,start_index)
Live demo:
Compile Error -
http://liveworkspace.org/code/ade31e7817c46fc1076be195cf94ec8c
OK - http://liveworkspace.org/code/464cab20cf6d6030cd516cf79e8c4fc3
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7585> 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:11 UTC