[Boost-bugs] [Boost C++ Libraries] #12212: type_traits/integral_constant.hpp, BOOST_MPL_CFG_NO_ADL_BARRIER_NAMESPACE and mpl/integral_c.hpp unhappy together

Subject: [Boost-bugs] [Boost C++ Libraries] #12212: type_traits/integral_constant.hpp, BOOST_MPL_CFG_NO_ADL_BARRIER_NAMESPACE and mpl/integral_c.hpp unhappy together
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-05-17 14:40:37


#12212: type_traits/integral_constant.hpp, BOOST_MPL_CFG_NO_ADL_BARRIER_NAMESPACE
and mpl/integral_c.hpp unhappy together
------------------------------+-------------------------
 Reporter: lukester_null@… | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: type_traits
  Version: Boost 1.61.0 | Severity: Problem
 Keywords: |
------------------------------+-------------------------
 Hello

 {{{
 #define BOOST_MPL_CFG_NO_ADL_BARRIER_NAMESPACE
 #include "boost/mpl/integral_c.hpp"
 #include "boost/type_traits/integral_constant.hpp"

 int main()
 {
     return 0;
 }
 }}}

 {{{
 In file included from main.cpp:3:0:
 boost/type_traits/integral_constant.hpp:42:21: error: 'integral_c' is
 already declared in this scope
        using ::mpl_::integral_c;
                      ^
 boost/type_traits/integral_constant.hpp:43:21: error: 'integral_c_tag' is
 already declared in this scope
        using ::mpl_::integral_c_tag;
 }}}
 Due to the decoupling from mpl no doubt!

 Regards

 Luke Elliott

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