merged sandbox-branches/intrusive_fix_SunCC (r55765 and r55775) fixing intrusive for Sun CC (#3339)

[SVN r55784]
This commit is contained in:
Christopher Hite committed 2009-08-26 08:59:34 +00:00
1 parent cb7bd3a146
commit b36ec05d0a
3 files changed
+58 -58

No files matched your search

+4 -4
View File
@@ -46,7 +46,7 @@ struct internal_base_hook_bool
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 internal_any_hook_bool
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 external_value_traits_bool
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 external_bucket_traits_bool
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));
};
+2 -2
View File
@@ -187,7 +187,7 @@ struct store_hash_bool
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 optimize_multikey_bool
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));
};