|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r55765 - in sandbox-branches/intrusive_fix_SunCC/boost/intrusive: . detail
From: C.Hite_at_[hidden]
Date: 2009-08-24 13:36:53
Author: chris_hite
Date: 2009-08-24 13:36:52 EDT (Mon, 24 Aug 2009)
New Revision: 55765
URL: http://svn.boost.org/trac/boost/changeset/55765
Log:
fixed SFINAE usage for Sun CC
Text files modified:
sandbox-branches/intrusive_fix_SunCC/boost/intrusive/detail/utilities.hpp | 8 ++++----
sandbox-branches/intrusive_fix_SunCC/boost/intrusive/hashtable.hpp | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
Modified: sandbox-branches/intrusive_fix_SunCC/boost/intrusive/detail/utilities.hpp
==============================================================================
--- sandbox-branches/intrusive_fix_SunCC/boost/intrusive/detail/utilities.hpp (original)
+++ sandbox-branches/intrusive_fix_SunCC/boost/intrusive/detail/utilities.hpp 2009-08-24 13:36:52 EDT (Mon, 24 Aug 2009)
@@ -46,7 +46,7 @@
struct two_or_three {one _[2 + Add];};
template <class U> static one test(...);
template <class U> static two_or_three<U::boost_intrusive_tags::is_base_hook>
- test (detail::bool_<U::boost_intrusive_tags::is_base_hook>* = 0);
+ test (int);
static const std::size_t value = sizeof(test<T>(0));
};
@@ -63,7 +63,7 @@
struct two_or_three {one _[2 + Add];};
template <class U> static one test(...);
template <class U> static two_or_three<U::is_any_hook>
- test (detail::bool_<U::is_any_hook>* = 0);
+ test (int);
static const std::size_t value = sizeof(test<T>(0));
};
@@ -81,7 +81,7 @@
struct two_or_three {one _[2 + Add];};
template <class U> static one test(...);
template <class U> static two_or_three<U::external_value_traits>
- test (detail::bool_<U::external_value_traits>* = 0);
+ test (int);
static const std::size_t value = sizeof(test<T>(0));
};
@@ -92,7 +92,7 @@
struct two_or_three {one _[2 + Add];};
template <class U> static one test(...);
template <class U> static two_or_three<U::external_bucket_traits>
- test (detail::bool_<U::external_bucket_traits>* = 0);
+ test (int);
static const std::size_t value = sizeof(test<T>(0));
};
Modified: sandbox-branches/intrusive_fix_SunCC/boost/intrusive/hashtable.hpp
==============================================================================
--- sandbox-branches/intrusive_fix_SunCC/boost/intrusive/hashtable.hpp (original)
+++ sandbox-branches/intrusive_fix_SunCC/boost/intrusive/hashtable.hpp 2009-08-24 13:36:52 EDT (Mon, 24 Aug 2009)
@@ -187,7 +187,7 @@
struct two_or_three {one _[2 + Add];};
template <class U> static one test(...);
template <class U> static two_or_three<U::store_hash>
- test (detail::bool_<U::store_hash>* = 0);
+ test (int);
static const std::size_t value = sizeof(test<T>(0));
};
@@ -204,7 +204,7 @@
struct two_or_three {one _[2 + Add];};
template <class U> static one test(...);
template <class U> static two_or_three<U::optimize_multikey>
- test (detail::bool_<U::optimize_multikey>* = 0);
+ test (int);
static const std::size_t value = sizeof(test<T>(0));
};
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk