Opened 11 years ago
Closed 10 years ago
#6769 closed Bugs (fixed)
flat_multimap::equal_range() does not compile
Reported by: | Owned by: | Ion Gaztañaga | |
---|---|---|---|
Milestone: | To Be Determined | Component: | container |
Version: | Boost 1.49.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Invoking equal_range() on flat_multimap generates a compile error.
Reproducible with MS VC 10 and gcc 4.6
Replacing force_copy() with force() seems to fix it. (like it is for flat_map)
See attached file for small program that generates the error.
Attachments (1)
Change History (5)
by , 11 years ago
Attachment: | flat_map.cpp added |
---|
comment:1 by , 10 years ago
comment:2 by , 10 years ago
did you try the attached program? you have to uncomment one of the typedefs, fails for flat containers. it did fail for me both on VC10 and gcc4.6 (ubuntu 10.10), boost 1.49.0
comment:4 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks for the report. Glad to know it was already fixed in Boost 1.50
Note:
See TracTickets
for help on using tickets.
Sorry, but I could not reproduce your problem in VC10 or GCC 4.6