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

[SVN r82316]
This commit is contained in:
Nathan Ridge
2013-01-02 08:09:46 +00:00
parent 958b4fbf6e
commit 3379affd4a
3 changed files with 6 additions and 5 deletions

View File

@ -7,8 +7,8 @@
[table
[[Syntax] [Code]]
[[Pipe] [`rng | boost::adaptors::indexed`]]
[[Function] [`boost::adaptors::index(rng)`]]
[[Pipe] [`rng | boost::adaptors::indexed(start_index)`]]
[[Function] [`boost::adaptors::index(rng, start_index)`]]
]
* [*Returns:] A range adapted to return both the element and the associated index. The returned range consists of iterators that have in addition to the usual iterator member functions an `index()` member function that returns the appropriate index for the element in the sequence corresponding with the iterator.