[Boost-bugs] [Boost C++ Libraries] #5275: result_of clash in interprocess tests

Subject: [Boost-bugs] [Boost C++ Libraries] #5275: result_of clash in interprocess tests
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-07 11:30:03


#5275: result_of clash in interprocess tests
------------------------------+---------------------------------------------
 Reporter: chrisj | Owner:
     Type: Patches | Status: new
Milestone: To Be Determined | Component: None
  Version: Boost 1.45.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 Lots of interprocess tests have:

 using namespace boost;
 using namespace std;

 and then use result_of. This causes clashes for libraries (such as libc++)
 which are starting to add support for std::result_of.

 I can see two obvious fixes:

 1) Remove the 'using namespace std;'. They don't actually seem to be doing
 anything.

 2) Qualify result_of with boost::

 I assume (1) is the obvious fix. Except I wondered if the 'using namespace
 std' in most tests was there for some reason?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5275>
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:05 UTC