#6726 closed Patches (fixed)
insert algorithm_ext overload for associative containers
Reported by: | Owned by: | Neil Groves | |
---|---|---|---|
Milestone: | To Be Determined | Component: | range |
Version: | Boost 1.49.0 | Severity: | Not Applicable |
Keywords: | range algorithm_ext insert | Cc: |
Description
The current insert algorithm expects an iterator to an insertion point; associative containers like map, set, etc, as well as various other containers may simply provide an insert method with only two parameters for the begin and end iterator.
This is a simple overload to support those situations, so you can easily perform operations such as insert(set, vector)
Attachments (2)
Change History (7)
by , 11 years ago
Attachment: | insert.hpp added |
---|
comment:1 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 7 years ago
3 years ago and not patched yet? This is a really simple compile error fix, why not just include the patch in the next release?
comment:3 by , 7 years ago
Hm, it seems this patch was lost again and is not in the current release, could someone investigate?
Note:
See TracTickets
for help on using tickets.
modified insert.hpp