forked from boostorg/unordered
Add a configuration macro for Sun C++ workarounds
This commit is contained in:
@@ -228,7 +228,7 @@ template <class T, class H, class P, class A> class unordered_set
|
||||
|
||||
#else
|
||||
|
||||
#if !(BOOST_COMP_SUNPRO && BOOST_COMP_SUNPRO < BOOST_VERSION_NUMBER(5, 21, 0))
|
||||
#if !BOOST_UNORDERED_SUN_WORKAROUNDS1
|
||||
|
||||
// 0 argument emplace requires special treatment in case
|
||||
// the container is instantiated with a value type that
|
||||
@@ -290,7 +290,7 @@ template <class T, class H, class P, class A> class unordered_set
|
||||
|
||||
#else
|
||||
|
||||
#if !(BOOST_COMP_SUNPRO && BOOST_COMP_SUNPRO < BOOST_VERSION_NUMBER(5, 21, 0))
|
||||
#if !BOOST_UNORDERED_SUN_WORKAROUNDS1
|
||||
|
||||
iterator emplace_hint(const_iterator hint,
|
||||
boost::unordered::detail::empty_emplace =
|
||||
@@ -737,7 +737,7 @@ template <class T, class H, class P, class A> class unordered_multiset
|
||||
|
||||
#else
|
||||
|
||||
#if !(BOOST_COMP_SUNPRO && BOOST_COMP_SUNPRO < BOOST_VERSION_NUMBER(5, 21, 0))
|
||||
#if !BOOST_UNORDERED_SUN_WORKAROUNDS1
|
||||
|
||||
// 0 argument emplace requires special treatment in case
|
||||
// the container is instantiated with a value type that
|
||||
@@ -797,7 +797,7 @@ template <class T, class H, class P, class A> class unordered_multiset
|
||||
|
||||
#else
|
||||
|
||||
#if !(BOOST_COMP_SUNPRO && BOOST_COMP_SUNPRO < BOOST_VERSION_NUMBER(5, 21, 0))
|
||||
#if !BOOST_UNORDERED_SUN_WORKAROUNDS1
|
||||
|
||||
iterator emplace_hint(const_iterator hint,
|
||||
boost::unordered::detail::empty_emplace =
|
||||
|
Reference in New Issue
Block a user