Fixed #9746. Deleted workarounds for old SUN_CC compilers, those are now unsupported.

This commit is contained in:
Ion Gaztañaga
2014-03-18 17:30:48 +01:00
parent 6c623e8d16
commit 26acf03a9b
2 changed files with 3 additions and 8 deletions

View File

@@ -3797,11 +3797,14 @@ to be inserted in intrusive containers are allocated using `std::vector` or `std
* Fixed bugs: * Fixed bugs:
* [@https://svn.boost.org/trac/boost/ticket/8468 #8468: Compile error on visual studio 2010/2012 using vector with custom allocator and aligned types] * [@https://svn.boost.org/trac/boost/ticket/8468 #8468: Compile error on visual studio 2010/2012 using vector with custom allocator and aligned types]
* [@https://svn.boost.org/trac/boost/ticket/9332 #9332: ['"has_member_function_callable_with.hpp compile error on msvc-12.0"]]. * [@https://svn.boost.org/trac/boost/ticket/9332 #9332: ['"has_member_function_callable_with.hpp compile error on msvc-12.0"]].
* [@https://svn.boost.org/trac/boost/ticket/9746 #9746: Modern Sun CC compiler detects error in intrusive library header]
* Optimized tree rebalancing code to avoid redundant assignments. * Optimized tree rebalancing code to avoid redundant assignments.
* Added 64 bit prime values for `suggested_upper_bucket_count`/`suggested_lower_bucket_count` in 64 bit platforms. * Added 64 bit prime values for `suggested_upper_bucket_count`/`suggested_lower_bucket_count` in 64 bit platforms.
* Deleted workarounds for old SUN_CC compilers, those are now unsupported as modern SunPro compilers are standard-corforming enough.
[endsect] [endsect]
[section:release_notes_boost_1_55_00 Boost 1.55 Release] [section:release_notes_boost_1_55_00 Boost 1.55 Release]

View File

@@ -186,11 +186,7 @@ template <typename Ptr, typename T>
struct type_has_rebind struct type_has_rebind
{ {
template <typename X> template <typename X>
#if !defined (__SUNPRO_CC)
static char test(int, typename X::template rebind<T>*); static char test(int, typename X::template rebind<T>*);
#else
static char test(int, typename X::rebind<T>*);
#endif
template <typename X> template <typename X>
static int test(boost::intrusive::detail::LowPriorityConversion<int>, void*); static int test(boost::intrusive::detail::LowPriorityConversion<int>, void*);
@@ -202,11 +198,7 @@ template <typename Ptr, typename T>
struct type_has_rebind_other struct type_has_rebind_other
{ {
template <typename X> template <typename X>
#if !defined (__SUNPRO_CC)
static char test(int, typename X::template rebind<T>::other*); static char test(int, typename X::template rebind<T>::other*);
#else
static char test(int, typename X::rebind<T>::other*);
#endif
template <typename X> template <typename X>
static int test(boost::intrusive::detail::LowPriorityConversion<int>, void*); static int test(boost::intrusive::detail::LowPriorityConversion<int>, void*);