#9587 closed Bugs (fixed)
Boost Multi-index with two hashes unique with Boost Interprocess allocators does not compile
Reported by: | Owned by: | Joaquín M López Muñoz | |
---|---|---|---|
Milestone: | To Be Determined | Component: | multi_index |
Version: | Boost 1.54.0 | Severity: | Problem |
Keywords: | Cc: |
Description
To reproduce: 0-Use the example libs/multi_index/example/ip_allocator.cpp. 1-Add #include <boost/multi_index/hashed_index.hpp> 2-Change the book_container ordered_non_unique to hashed_unique. 3-Add to book struct a prize2 4-Add to book_container, a hashed_unique on prize2.
Does not compile: error C2594: 'argument' : ambiguous conversions See attached document
Attachments (3)
Change History (5)
by , 9 years ago
Attachment: | CompileError.txt added |
---|
by , 9 years ago
by , 9 years ago
Attachment: | patch.diff added |
---|
follow-up: 2 comment:1 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 9 years ago
Replying to joaquin:
This has been fixed in the upcoming Boost 1.56. Meanwhile you can apply the attached patch to hashed_index.hpp. The problem has already been discussed at:
Thank you for fast reply!
Note:
See TracTickets
for help on using tickets.
This has been fixed in the upcoming Boost 1.56. Meanwhile you can apply the attached patch to hashed_index.hpp. The problem has already been discussed at:
http://lists.boost.org/boost-users/2013/12/80753.php