Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#7585 closed Bugs (fixed)

Boost.Range Adaptors indexed: mistake in online documentation

Reported by: Evgeny Panasyuk <evgeny.panasyuk@…> Owned by: Neil Groves
Milestone: To Be Determined Component: range
Version: Boost 1.51.0 Severity: Cosmetic
Keywords: range doc Cc:

Description

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

Attachments (1)

Untitled2.cpp (722 bytes ) - added by sd.yegane@… 9 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by Nathan Ridge, 10 years ago

Resolution: fixed
Status: newclosed

(In [82316]) [range] fixed #7585 (typo in documentation for 'indexed' adaptor)

comment:2 by Nathan Ridge, 10 years ago

Fixed in trunk. The fix will appear in 1.53 (I will merge to release branch after 1.53 beta release).

comment:3 by Nathan Ridge, 10 years ago

(In [82487]) [range] Merge documentation fixes and minor refactoring of docs (refs #5160; refs #5314; refs #5440; refs #5775; refs #6212; refs #7585; refs #7843; refs #7866).

by sd.yegane@…, 9 years ago

Attachment: Untitled2.cpp added
Note: See TracTickets for help on using tickets.