Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73183 - sandbox/conversion/boost/conversion/type_traits
From: vicente.botet_at_[hidden]
Date: 2011-07-17 09:47:51


Author: viboes
Date: 2011-07-17 09:47:50 EDT (Sun, 17 Jul 2011)
New Revision: 73183
URL: http://svn.boost.org/trac/boost/changeset/73183

Log:
cpnversion: update comments
Text files modified:
   sandbox/conversion/boost/conversion/type_traits/is_assignable.hpp | 2 ++
   sandbox/conversion/boost/conversion/type_traits/is_destructible.hpp | 9 +++++++--
   sandbox/conversion/boost/conversion/type_traits/is_move_assignable.hpp | 2 +-
   3 files changed, 10 insertions(+), 3 deletions(-)

Modified: sandbox/conversion/boost/conversion/type_traits/is_assignable.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/type_traits/is_assignable.hpp (original)
+++ sandbox/conversion/boost/conversion/type_traits/is_assignable.hpp 2011-07-17 09:47:50 EDT (Sun, 17 Jul 2011)
@@ -18,8 +18,10 @@
 #include <boost/config.hpp>
 #include <boost/utility/enable_if.hpp>
 
+#if ! defined(BOOST_CONVERSION_DOXYGEN_INVOKED)
 #define BOOST_CONVERSION_REQUIRES(CND) \
                 , typename enable_if_c< CND >::type
+#endif
 
 #if defined(BOOST_CONVERSION_DOXYGEN_INVOKED)
   //! Macro stating if the compiler don't support the features needed to define the @c is_assignable type trait.

Modified: sandbox/conversion/boost/conversion/type_traits/is_destructible.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/type_traits/is_destructible.hpp (original)
+++ sandbox/conversion/boost/conversion/type_traits/is_destructible.hpp 2011-07-17 09:47:50 EDT (Sun, 17 Jul 2011)
@@ -9,7 +9,7 @@
 //////////////////////////////////////////////////////////////////////////////
 /**
  * @file
- * @brief Defines the type trait @c is_copy_assignable.
+ * @brief Defines the type trait @c is_destructible.
  */
 
 
@@ -43,7 +43,12 @@
    * @Requires @c T must be a complete type, (possibly cv-qualified) void, or an array of unknown bound.
    */
   template <class T>
- struct is_destructible;
+ struct is_destructible
+ {};
+
+ //! Macro stating if the compiler doesn't support the features needed to define the @c is_destructible type trait for classes.
+ #define BOOST_CONVERSION_NO_IS_DESTRUCTIBLE
+
 }
 #else
 

Modified: sandbox/conversion/boost/conversion/type_traits/is_move_assignable.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/type_traits/is_move_assignable.hpp (original)
+++ sandbox/conversion/boost/conversion/type_traits/is_move_assignable.hpp 2011-07-17 09:47:50 EDT (Sun, 17 Jul 2011)
@@ -9,7 +9,7 @@
 //////////////////////////////////////////////////////////////////////////////
 /**
  * @file
- * @brief Defines the type trait @c is_copy_assignable.
+ * @brief Defines the type trait @c is_move_assignable.
  */
 
 


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