Modify

Ticket #7585 (closed Bugs: fixed)

Opened 18 months ago

Last modified 16 months ago

Boost.Range Adaptors indexed: mistake in online documentation

Reported by: Evgeny Panasyuk <evgeny.panasyuk@…> Owned by: neilgroves
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

Untitled2.cpp Download (722 bytes) - added by sd.yegane@… 6 months ago.

Change History

comment:1 Changed 16 months ago by nathanridge

  • Status changed from new to closed
  • Resolution set to fixed

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

comment:2 Changed 16 months ago by nathanridge

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

comment:3 Changed 16 months ago by nathanridge

(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).

Changed 6 months ago by sd.yegane@…

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.