Opened 8 years ago
#10797 new Bugs
boost::join multiply defined (from algorithm/string/join.hpp and range/join.hpp)
Reported by: | Owned by: | Marshall Clow | |
---|---|---|---|
Milestone: | To Be Determined | Component: | algorithm |
Version: | Boost 1.46.1 | Severity: | Problem |
Keywords: | Cc: |
Description
algorithm/string/join.hpp pulls boost::algorithm::join into the boost namespace with a
using algorithm::join
statement. This crates a conflict with range/join.hpp which defines boost::join directly. If I want to use both in one compilation unit, I have to wrap one of them in a separate class --> ugly.
Suggested fix: I do not think that "using algorithm::join" is needed in the file algorithm/string/join.hpp.
Note:
See TracTickets
for help on using tickets.