mirror of
https://github.com/boostorg/container.git
synced 2025-08-02 05:54:28 +02:00
Forward declare Dinkumware Stdlib's "struct _Nil" in is_pair.hpp instead of pair.hpp
This commit is contained in:
@@ -25,6 +25,14 @@
|
|||||||
#include <boost/container/detail/workaround.hpp>
|
#include <boost/container/detail/workaround.hpp>
|
||||||
#include <boost/container/detail/std_fwd.hpp>
|
#include <boost/container/detail/std_fwd.hpp>
|
||||||
|
|
||||||
|
#if defined(BOOST_MSVC) && (_CPPLIB_VER == 520)
|
||||||
|
//MSVC 2010 tuple marker
|
||||||
|
namespace std { namespace tr1 { struct _Nil; }}
|
||||||
|
#elif defined(BOOST_MSVC) && (_CPPLIB_VER == 540)
|
||||||
|
//MSVC 2012 tuple marker
|
||||||
|
namespace std { struct _Nil; }
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace boost {
|
namespace boost {
|
||||||
namespace tuples {
|
namespace tuples {
|
||||||
|
|
||||||
|
@@ -77,19 +77,7 @@ struct is_tuple_null<boost::tuples::null_type>
|
|||||||
static const bool value = true;
|
static const bool value = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
}}}
|
} //namespace detail {
|
||||||
|
|
||||||
#if defined(BOOST_MSVC) && (_CPPLIB_VER == 520)
|
|
||||||
//MSVC 2010 tuple marker
|
|
||||||
namespace std { namespace tr1 { struct _Nil; }}
|
|
||||||
#elif defined(BOOST_MSVC) && (_CPPLIB_VER == 540)
|
|
||||||
//MSVC 2012 tuple marker
|
|
||||||
namespace std { struct _Nil; }
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
namespace boost {
|
|
||||||
namespace container {
|
|
||||||
|
|
||||||
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user