Re: [Boost-bugs] [Boost C++ Libraries] #6331: [Boost.Test] g++ compilation error due to ambiguity between template<class Cond, class T> struct boost::enable_if and class boost::unit_test::decorator::enable_if as well as the disable_if counterparts introduced after Boost 1.48.0 (up to at least svn rev. 76217)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6331: [Boost.Test] g++ compilation error due to ambiguity between template<class Cond, class T> struct boost::enable_if and class boost::unit_test::decorator::enable_if as well as the disable_if counterparts introduced after Boost 1.48.0 (up to at least svn rev. 76217)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-01-21 09:36:26


#6331: [Boost.Test] g++ compilation error due to ambiguity between template<class
Cond, class T> struct boost::enable_if and class
boost::unit_test::decorator::enable_if as well as the disable_if
counterparts introduced after Boost 1.48.0 (up to at least svn rev. 76217)
--------------------------------------+-------------------------------------
  Reporter: t0rt1e@… | Owner: rogeeff
      Type: Bugs | Status: reopened
 Milestone: To Be Determined | Component: test
   Version: Boost Development Trunk | Severity: Regression
Resolution: | Keywords: enable_if, disable_if
--------------------------------------+-------------------------------------
Changes (by t0rt1e@…):

  * status: closed => reopened
  * resolution: fixed =>

Comment:

 Thanks for finding the origin of the issue in a misplaced {{{using
 namespace boost::unit_test}}} statement in the implementation of the
 boost::unit_test! Unfortunately, the change set 76600 doesn't fully
 resolve the issue. There's another {{{using namespace boost::unit_test}}}
 statement hidden in in {{{boost/test/impl/logged_expectations.ipp}}}. I
 attach a patch, which finally allows me to compile my test case against
 Boost trunk.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6331#comment:8>
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:08 UTC