Opened 10 years ago

Closed 9 years ago

#8269 closed Bugs (fixed)

[documentation] missing info about iterators of flat_set/flat_map

Reported by: anonymous Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: container
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc:

Description

it doesn't say anywhere in the documentation that the iterator of a flat_map is random access, which is important, as a constant time std::distance(begin(),it) can be used as an index into another vector which has the same order but different values.

Change History (1)

comment:1 by Ion Gaztañaga, 9 years ago

Resolution: fixed
Status: newclosed

(In [85297]) Fixes #8269

Note: See TracTickets for help on using tickets.