Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73259 - in sandbox/conversion/boost/conversion: . boost
From: vicente.botet_at_[hidden]
Date: 2011-07-20 13:16:44


Author: viboes
Date: 2011-07-20 13:16:43 EDT (Wed, 20 Jul 2011)
New Revision: 73259
URL: http://svn.boost.org/trac/boost/changeset/73259

Log:
conversion: split the ussage of BOOST_CONVERSION_DOUBLE_CP until I'm able to detect extrinsic convertible without relying on the converter bool-type
Text files modified:
   sandbox/conversion/boost/conversion/boost/array.hpp | 2 +-
   sandbox/conversion/boost/conversion/boost/chrono_duration_to_posix_time_duration.hpp | 2 +-
   sandbox/conversion/boost/conversion/boost/chrono_time_point_to_posix_time_ptime.hpp | 2 +-
   sandbox/conversion/boost/conversion/boost/interval.hpp | 2 +-
   sandbox/conversion/boost/conversion/boost/optional.hpp | 2 +-
   sandbox/conversion/boost/conversion/boost/rational.hpp | 2 +-
   sandbox/conversion/boost/conversion/boost/tuple.hpp | 2 +-
   sandbox/conversion/boost/conversion/config.hpp | 1 -
   8 files changed, 7 insertions(+), 8 deletions(-)

Modified: sandbox/conversion/boost/conversion/boost/array.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/boost/array.hpp (original)
+++ sandbox/conversion/boost/conversion/boost/array.hpp 2011-07-20 13:16:43 EDT (Wed, 20 Jul 2011)
@@ -126,7 +126,7 @@
     };
   }
 
-#if defined(BOOST_CONVERSION_DOUBLE_CP)
+#if defined(BOOST_CONVERSION_DOUBLE_CP2)
 #ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
   //! @brief @c assign_to overloading for source and target been @c boost::array of the same size.
   //!

Modified: sandbox/conversion/boost/conversion/boost/chrono_duration_to_posix_time_duration.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/boost/chrono_duration_to_posix_time_duration.hpp (original)
+++ sandbox/conversion/boost/conversion/boost/chrono_duration_to_posix_time_duration.hpp 2011-07-20 13:16:43 EDT (Wed, 20 Jul 2011)
@@ -97,7 +97,7 @@
 
   }
 
-#if defined(BOOST_CONVERSION_DOUBLE_CP)
+#if defined(BOOST_CONVERSION_DOUBLE_CP2)
 #ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
   namespace chrono {
 

Modified: sandbox/conversion/boost/conversion/boost/chrono_time_point_to_posix_time_ptime.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/boost/chrono_time_point_to_posix_time_ptime.hpp (original)
+++ sandbox/conversion/boost/conversion/boost/chrono_time_point_to_posix_time_ptime.hpp 2011-07-20 13:16:43 EDT (Wed, 20 Jul 2011)
@@ -97,7 +97,7 @@
     };
   }
 
-#if defined(BOOST_CONVERSION_DOUBLE_CP)
+#if defined(BOOST_CONVERSION_DOUBLE_CP2)
 #ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
   namespace chrono {
     template < class Clock, class Duration>

Modified: sandbox/conversion/boost/conversion/boost/interval.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/boost/interval.hpp (original)
+++ sandbox/conversion/boost/conversion/boost/interval.hpp 2011-07-20 13:16:43 EDT (Wed, 20 Jul 2011)
@@ -71,7 +71,7 @@
     };
   }
 
-#if defined(BOOST_CONVERSION_DOUBLE_CP)
+#if defined(BOOST_CONVERSION_DOUBLE_CP2)
 #ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
   namespace numeric {
     template < class Target, class PTarget, class Source, class PSource>

Modified: sandbox/conversion/boost/conversion/boost/optional.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/boost/optional.hpp (original)
+++ sandbox/conversion/boost/conversion/boost/optional.hpp 2011-07-20 13:16:43 EDT (Wed, 20 Jul 2011)
@@ -134,7 +134,7 @@
 
   }
 
-#if defined(BOOST_CONVERSION_DOUBLE_CP)
+#if defined(BOOST_CONVERSION_DOUBLE_CP2)
 #ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
   //! @brief @c assign_to overloading for source and target been @c boost::optional.
   //!

Modified: sandbox/conversion/boost/conversion/boost/rational.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/boost/rational.hpp (original)
+++ sandbox/conversion/boost/conversion/boost/rational.hpp 2011-07-20 13:16:43 EDT (Wed, 20 Jul 2011)
@@ -77,7 +77,7 @@
     };
   }
 
-#if defined(BOOST_CONVERSION_DOUBLE_CP)
+#if defined(BOOST_CONVERSION_DOUBLE_CP2)
 #ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
   template < class Target, class Source>
   inline rational<Target>& assign_to(rational<Target>& to, const rational<Source>& from)

Modified: sandbox/conversion/boost/conversion/boost/tuple.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/boost/tuple.hpp (original)
+++ sandbox/conversion/boost/conversion/boost/tuple.hpp 2011-07-20 13:16:43 EDT (Wed, 20 Jul 2011)
@@ -81,7 +81,7 @@
 
   }
 
-#if defined(BOOST_CONVERSION_DOUBLE_CP)
+#if defined(BOOST_CONVERSION_DOUBLE_CP2)
 #ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
   namespace fusion {
 #if defined(BOOST_CONVERSION_DOXYGEN_INVOKED)

Modified: sandbox/conversion/boost/conversion/config.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/config.hpp (original)
+++ sandbox/conversion/boost/conversion/config.hpp 2011-07-20 13:16:43 EDT (Wed, 20 Jul 2011)
@@ -18,7 +18,6 @@
 #include <boost/config.hpp>
 #include <boost/utility/enable_if.hpp>
 
-
 #if !defined(BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS)
   #if __GNUC__ < 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ < 4 )
   #else


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