Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57001 - trunk/boost/intrusive/detail
From: igaztanaga_at_[hidden]
Date: 2009-10-19 14:59:45


Author: igaztanaga
Date: 2009-10-19 14:59:44 EDT (Mon, 19 Oct 2009)
New Revision: 57001
URL: http://svn.boost.org/trac/boost/changeset/57001

Log:
Fixes for 1.41
Text files modified:
   trunk/boost/intrusive/detail/is_stateful_value_traits.hpp | 21 +++++++++++++++++++++
   1 files changed, 21 insertions(+), 0 deletions(-)

Modified: trunk/boost/intrusive/detail/is_stateful_value_traits.hpp
==============================================================================
--- trunk/boost/intrusive/detail/is_stateful_value_traits.hpp (original)
+++ trunk/boost/intrusive/detail/is_stateful_value_traits.hpp 2009-10-19 14:59:44 EDT (Mon, 19 Oct 2009)
@@ -14,6 +14,25 @@
 #define BOOST_INTRUSIVE_DETAIL_IS_STATEFUL_VALUE_TRAITS_HPP
 
 #include <boost/intrusive/detail/config_begin.hpp>
+
+#if defined(_MSC_VER) && (_MSC_VER <= 1310)
+
+#include <boost/intrusive/detail/mpl.hpp>
+
+namespace boost {
+namespace intrusive {
+namespace detail {
+
+template<class ValueTraits>
+struct is_stateful_value_traits
+{
+ static const bool value = !detail::is_empty_class<ValueTraits>::value;
+};
+
+}}}
+
+#else
+
 #include <boost/intrusive/detail/function_detector.hpp>
 
 BOOST_INTRUSIVE_CREATE_FUNCTION_DETECTOR(to_node_ptr, boost_intrusive)
@@ -51,6 +70,8 @@
 
 }}}
 
+#endif
+
 #include <boost/intrusive/detail/config_end.hpp>
 
 #endif //@ifndef BOOST_INTRUSIVE_DETAIL_IS_STATEFUL_VALUE_TRAITS_HPP


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