[Boost-bugs] [Boost C++ Libraries] #10797: boost::join multiply defined (from algorithm/string/join.hpp and range/join.hpp)

Subject: [Boost-bugs] [Boost C++ Libraries] #10797: boost::join multiply defined (from algorithm/string/join.hpp and range/join.hpp)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-11-17 10:02:26


#10797: boost::join multiply defined (from algorithm/string/join.hpp and
range/join.hpp)
-------------------------------------------+-----------------------
 Reporter: Andreas Baak <andreas.baak@…> | Owner: marshall
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: algorithm
  Version: Boost 1.46.1 | Severity: Problem
 Keywords: |
-------------------------------------------+-----------------------
 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.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10797>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC