Opened 8 years ago
Last modified 6 years ago
#10970 new Bugs
uses of make_reverse_iterator conflict with C++14's.
Reported by: | Owned by: | jeffrey.hellrung | |
---|---|---|---|
Milestone: | To Be Determined | Component: | iterator |
Version: | Boost 1.57.0 | Severity: | Problem |
Keywords: | Cc: |
Description
C++14 introduces make_reverse_iterator, which conflicts with Boost's when compiling with libc++.
At the very least, this affects targets using the multi_index library (ordered_index.hpp, random_access_index.hpp, and sequenced_index.hpp).
A quick workaround would be to simply replace occurrences of make_reverse_iterator with boost::make_reverse_iterator, following the trend in the accumulators (statistics/tail.hpp) and graph (core_numbers.hpp) libraries.
Change History (2)
comment:1 by , 8 years ago
Component: | None → iterator |
---|---|
Owner: | set to |
comment:2 by , 6 years ago
Note:
See TracTickets
for help on using tickets.
I have the same issue. But i don't understand why it happens, i never used #using namespace std or similar so i don't know why it considers using std::make_reverse_iterator in that code which is inside the boost namespace. Maybe someone can explain it to me?