Modify

Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#7585 closed Bugs (fixed)

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

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

Download all attachments as: .zip

Change History (4)

comment:1 Changed 4 years ago by nathanridge

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

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

comment:2 Changed 4 years 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 4 years 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 4 years ago by sd.yegane@…

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain neilgroves.
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.