Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73034 - in sandbox/conversion/boost/conversion: . boost std type_traits
From: vicente.botet_at_[hidden]
Date: 2011-07-13 00:43:31


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

Log:
conversion: rename is_extrinsic_ by is_intrinsically_
Removed:
   sandbox/conversion/boost/conversion/type_traits/is_extrinsic_assignable.hpp
   sandbox/conversion/boost/conversion/type_traits/is_extrinsic_convertible.hpp
   sandbox/conversion/boost/conversion/type_traits/is_extrinsic_explicit_convertible.hpp
Text files modified:
   sandbox/conversion/boost/conversion/assign_to.hpp | 8 ++++----
   sandbox/conversion/boost/conversion/assignable_to.hpp | 10 +++++-----
   sandbox/conversion/boost/conversion/boost/array.hpp | 10 +++++-----
   sandbox/conversion/boost/conversion/boost/interval.hpp | 4 ++--
   sandbox/conversion/boost/conversion/boost/optional.hpp | 6 +++---
   sandbox/conversion/boost/conversion/boost/rational.hpp | 4 ++--
   sandbox/conversion/boost/conversion/boost/tuple.hpp | 10 +++++-----
   sandbox/conversion/boost/conversion/convert_to_or_fallback.hpp | 12 ++++++------
   sandbox/conversion/boost/conversion/convertible_from.hpp | 4 ++--
   sandbox/conversion/boost/conversion/convertible_to.hpp | 4 ++--
   sandbox/conversion/boost/conversion/explicit_convert_to.hpp | 8 ++++----
   sandbox/conversion/boost/conversion/include.hpp | 3 +++
   sandbox/conversion/boost/conversion/std/complex.hpp | 4 ++--
   sandbox/conversion/boost/conversion/std/pair.hpp | 8 ++++----
   sandbox/conversion/boost/conversion/std/vector.hpp | 6 +++---
   15 files changed, 52 insertions(+), 49 deletions(-)

Modified: sandbox/conversion/boost/conversion/assign_to.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/assign_to.hpp (original)
+++ sandbox/conversion/boost/conversion/assign_to.hpp 2011-07-13 00:43:29 EDT (Wed, 13 Jul 2011)
@@ -38,8 +38,8 @@
 #include <boost/utility/enable_if.hpp>
 #include <boost/conversion/type_traits/is_copy_assignable.hpp>
 #include <boost/conversion/type_traits/is_assignable.hpp>
-#include <boost/conversion/type_traits/is_extrinsic_convertible.hpp>
-#include <boost/conversion/type_traits/is_extrinsic_explicit_convertible.hpp>
+#include <boost/conversion/is_extrinsically_convertible.hpp>
+#include <boost/conversion/is_extrinsically_explicit_convertible.hpp>
 
 namespace boost {
   namespace conversion {
@@ -85,7 +85,7 @@
 #else
         , typename enable_if_c<
           is_copy_assignable<Target>::value
- && is_extrinsic_explicit_convertible<Source,Target>::value
+ && is_extrinsically_explicit_convertible<Source,Target>::value
           && ! is_assignable<Target,Source>::value
>::type
 #endif
@@ -178,7 +178,7 @@
 #else
         , typename enable_if_c<
                                          is_copy_assignable<Target>::value
- && is_extrinsic_convertible<Source,Target>::value
+ && is_extrinsically_convertible<Source,Target>::value
                                          && ! is_assignable<Target,Source>::value
>::type
 #endif

Modified: sandbox/conversion/boost/conversion/assignable_to.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/assignable_to.hpp (original)
+++ sandbox/conversion/boost/conversion/assignable_to.hpp 2011-07-13 00:43:29 EDT (Wed, 13 Jul 2011)
@@ -19,8 +19,8 @@
 
 #include <boost/conversion/convert_to.hpp>
 #include <boost/conversion/assign_to.hpp>
-#include <boost/conversion/type_traits/is_extrinsic_convertible.hpp>
-#include <boost/conversion/type_traits/is_extrinsic_assignable.hpp>
+#include <boost/conversion/is_extrinsically_convertible.hpp>
+#include <boost/conversion/is_extrinsically_assignable.hpp>
 #include <boost/utility/enable_if.hpp>
 
 namespace boost {
@@ -47,7 +47,7 @@
 // //! @Throws Whatever @c convert_to throws.
 // template <typename U
 //#if defined(BOOST_CONVERSION_ENABLE_CND) && !defined(BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS)
-// , typename boost::enable_if< boost::is_extrinsic_convertible<Target,U>, int >::type = 0
+// , typename boost::enable_if< is_extrinsically_convertible<Target,U>, int >::type = 0
 //#endif
 // >
 // operator U()
@@ -74,7 +74,7 @@
       //! @Remark This constructor doesn't participates on overload resolution if @c Source is not extrinsic assignable to @c Target.
       template <typename Source>
 #if defined(BOOST_CONVERSION_ENABLE_CND) && !defined(BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS)
- typename boost::enable_if< boost::is_extrinsic_assignable<Target,Source>, assignable_to& >::type
+ typename boost::enable_if< is_extrinsically_assignable<Target,Source>, assignable_to& >::type
 #else
       assignable_to&
 #endif
@@ -92,7 +92,7 @@
       //! @Remark This constructor doesn't participates on overload resolution if @c Source is not extrinsic assignable to @c Target.
       template <typename Source>
 #if defined(BOOST_CONVERSION_ENABLE_CND) && !defined(BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS)
- typename boost::enable_if< boost::is_extrinsic_assignable<Target,Source>, assignable_to& >::type
+ typename boost::enable_if< is_extrinsically_assignable<Target,Source>, assignable_to& >::type
 #else
       assignable_to&
 #endif

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-13 00:43:29 EDT (Wed, 13 Jul 2011)
@@ -22,10 +22,10 @@
 #include <boost/conversion/assign_to.hpp>
 #include <algorithm>
 #include <boost/config.hpp>
-#include <boost/conversion/type_traits/is_extrinsic_assignable.hpp>
+#include <boost/conversion/is_extrinsically_assignable.hpp>
 #include <boost/conversion/type_traits/is_copy_assignable.hpp>
 #include <boost/conversion/type_traits/is_assignable.hpp>
-#include <boost/conversion/type_traits/is_extrinsic_convertible.hpp>
+#include <boost/conversion/is_extrinsically_convertible.hpp>
 #include <boost/conversion/type_traits/is_explicitly_convertible.hpp>
 
 
@@ -50,7 +50,7 @@
         )
 #elif defined(BOOST_CONVERSION_ENABLE_CND)
         , typename enable_if_c<
- is_extrinsic_assignable<Target, Source>::value
+ is_extrinsically_assignable<Target, Source>::value
>::type
 #endif
> : true_type
@@ -80,7 +80,7 @@
         )
 #elif defined(BOOST_CONVERSION_ENABLE_CND)
         , typename enable_if_c<
- is_extrinsic_assignable<Target,Source>::value
+ is_extrinsically_assignable<Target,Source>::value
   && ! is_assignable<Target, Source>::value
>::type
 #endif
@@ -109,7 +109,7 @@
         )
 #elif defined(BOOST_CONVERSION_ENABLE_CND)
         , typename enable_if_c<
- is_extrinsic_assignable<Target,Source>::value
+ is_extrinsically_assignable<Target,Source>::value
      && is_assignable<Target, Source>::value
>::type
 #endif

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-13 00:43:29 EDT (Wed, 13 Jul 2011)
@@ -39,7 +39,7 @@
         )
 #elif defined(BOOST_CONVERSION_ENABLE_CND)
         , typename enable_if_c<
- is_extrinsic_convertible<Source,Target>::value
+ is_extrinsically_convertible<Source,Target>::value
>::type
 #endif
> : true_type
@@ -58,7 +58,7 @@
         )
 #elif defined(BOOST_CONVERSION_ENABLE_CND)
         , typename enable_if_c<
- is_extrinsic_convertible<Source,Target>::value
+ is_extrinsically_convertible<Source,Target>::value
>::type
 #endif
> : true_type

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-13 00:43:29 EDT (Wed, 13 Jul 2011)
@@ -48,7 +48,7 @@
         )
 #elif defined(BOOST_CONVERSION_ENABLE_CND)
         , typename enable_if_c<
- is_extrinsic_convertible<Source,Target>::value
+ is_extrinsically_convertible<Source,Target>::value
>::type
 #endif
> : true_type
@@ -74,7 +74,7 @@
         )
 #elif defined(BOOST_CONVERSION_ENABLE_CND)
         , typename enable_if_c<
- is_extrinsic_convertible<Source,Target>::value
+ is_extrinsically_convertible<Source,Target>::value
         && ! detail::is_optional<Source>::value
>::type
 #endif
@@ -109,7 +109,7 @@
         )
 #elif defined(BOOST_CONVERSION_ENABLE_CND)
         , typename enable_if_c<
- is_extrinsic_explicit_convertible<Source,Target>::value
+ is_extrinsically_explicit_convertible<Source,Target>::value
         && ! detail::is_optional<Source>::value
>::type
 #endif

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-13 00:43:29 EDT (Wed, 13 Jul 2011)
@@ -45,7 +45,7 @@
         )
 #elif defined(BOOST_CONVERSION_ENABLE_CND)
         , typename enable_if_c<
- is_extrinsic_convertible<Source,Target>::value
+ is_extrinsically_convertible<Source,Target>::value
>::type
 #endif
> : true_type
@@ -64,7 +64,7 @@
         )
 #elif defined(BOOST_CONVERSION_ENABLE_CND)
         , typename enable_if_c<
- is_extrinsic_convertible<Source,Target>::value
+ is_extrinsically_convertible<Source,Target>::value
>::type
 #endif
> : true_type

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-13 00:43:29 EDT (Wed, 13 Jul 2011)
@@ -38,8 +38,8 @@
     )
 #elif defined(BOOST_CONVERSION_ENABLE_CND)
         , typename enable_if_c<
- is_extrinsic_convertible<S1,T1>::value
- && is_extrinsic_convertible<S2,T2>::value
+ is_extrinsically_convertible<S1,T1>::value
+ && is_extrinsically_convertible<S2,T2>::value
>::type
 #endif
> : true_type
@@ -62,9 +62,9 @@
         )
 #elif defined(BOOST_CONVERSION_ENABLE_CND)
         , typename enable_if_c<
- is_extrinsic_convertible<S1,T1>::value
- && is_extrinsic_convertible<S2,T2>::value
- && is_extrinsic_convertible<S3,T3>::value
+ is_extrinsically_convertible<S1,T1>::value
+ && is_extrinsically_convertible<S2,T2>::value
+ && is_extrinsically_convertible<S3,T3>::value
>::type
 #endif
> : true_type

Modified: sandbox/conversion/boost/conversion/convert_to_or_fallback.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/convert_to_or_fallback.hpp (original)
+++ sandbox/conversion/boost/conversion/convert_to_or_fallback.hpp 2011-07-13 00:43:29 EDT (Wed, 13 Jul 2011)
@@ -39,7 +39,7 @@
 
 #include <boost/conversion/config.hpp>
 #include <boost/conversion/convert_to.hpp>
-#include <boost/conversion/type_traits/is_extrinsic_explicit_convertible.hpp>
+#include <boost/conversion/is_extrinsically_explicit_convertible.hpp>
 #include <boost/type_traits/is_same.hpp>
 #include <boost/utility/enable_if.hpp>
 
@@ -69,22 +69,22 @@
     struct converter_or_fallbacker : converter_or_fallbacker_cp<Target,Source,Fallback,Enable> {};
 
     //! Specialization for @c converter_or_fallbacker when
- //! @c is_extrinsic_explicitly_convertible<Source,Target>
- //! @c && is_extrinsic_explicitly_convertible<Fallback,Target>.
+ //! @c is_extrinsically_explicitly_convertible<Source,Target>
+ //! @c && is_extrinsically_explicitly_convertible<Fallback,Target>.
     //!
     //! @tparam Target target type of the conversion.
     //! @tparam Source source type of the conversion.
     //! @tparam Fallback type of the fallback value which must be explicitly convertible to @c Target.
     //!
- //! @Requires @c is_extrinsic_explicitly_convertible<Source,Target> && @c is_extrinsic_explicitly_convertible<Fallback,Target>.
+ //! @Requires @c is_extrinsically_explicitly_convertible<Source,Target> && @c is_extrinsically_explicitly_convertible<Fallback,Target>.
     template < typename Target, typename Source, typename Fallback>
     struct converter_or_fallbacker<Target, Source, Fallback,
 #if defined(BOOST_CONVERSION_DOXYGEN_INVOKED)
         requires(ExtrinsicExplicitConvertible<Source,Target> && ExtrinsicExplicitConvertible<Fallback,Target>)
 #else
         typename enable_if_c<
- is_extrinsic_explicit_convertible<Source,Target>::value
- && is_extrinsic_explicit_convertible<Fallback,Target>::value
+ is_extrinsically_explicit_convertible<Source,Target>::value
+ && is_extrinsically_explicit_convertible<Fallback,Target>::value
>::type
 #endif
> {

Modified: sandbox/conversion/boost/conversion/convertible_from.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/convertible_from.hpp (original)
+++ sandbox/conversion/boost/conversion/convertible_from.hpp 2011-07-13 00:43:29 EDT (Wed, 13 Jul 2011)
@@ -22,7 +22,7 @@
 
 #include <boost/conversion/implicit_convert_to.hpp>
 #include <boost/conversion/assign_to.hpp>
-#include <boost/conversion/type_traits/is_extrinsic_convertible.hpp>
+#include <boost/conversion/is_extrinsically_convertible.hpp>
 #include <boost/utility/enable_if.hpp>
 
 namespace boost {
@@ -51,7 +51,7 @@
       //! @Remark On compilers that supports C++0x default arguments for function template parameters,
       //! this conversion operator doesn't participates on overload resolution if @c Source is not extrinsic convertible to @c Target.
       template <typename Target
- , typename boost::enable_if< boost::is_extrinsic_convertible<Source,Target>, int >::type = 0
+ , typename boost::enable_if< boost::is_extrinsically_convertible<Source,Target>, int >::type = 0
>
       operator Target() const
       {

Modified: sandbox/conversion/boost/conversion/convertible_to.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/convertible_to.hpp (original)
+++ sandbox/conversion/boost/conversion/convertible_to.hpp 2011-07-13 00:43:29 EDT (Wed, 13 Jul 2011)
@@ -19,7 +19,7 @@
 
 #include <boost/conversion/implicit_convert_to.hpp>
 #include <boost/conversion/assign_to.hpp>
-#include <boost/conversion/type_traits/is_extrinsic_convertible.hpp>
+#include <boost/conversion/is_extrinsically_convertible.hpp>
 #include <boost/utility/enable_if.hpp>
 
 namespace boost {
@@ -39,7 +39,7 @@
       template <typename Source>
       convertible_to(Source const& source
 #if defined(BOOST_CONVERSION_ENABLE_CND)
- , typename enable_if<boost::is_extrinsic_convertible<Source,Target> >::type* dummy = 0
+ , typename enable_if<is_extrinsically_convertible<Source,Target> >::type* dummy = 0
 #endif
           )
         : val_(boost::conversion::implicit_convert_to<Target>(source))

Modified: sandbox/conversion/boost/conversion/explicit_convert_to.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/explicit_convert_to.hpp (original)
+++ sandbox/conversion/boost/conversion/explicit_convert_to.hpp 2011-07-13 00:43:29 EDT (Wed, 13 Jul 2011)
@@ -35,7 +35,7 @@
 #include <boost/utility/enable_if.hpp>
 #include <boost/type_traits/integral_constant.hpp>
 #include <boost/conversion/type_traits/is_explicitly_convertible.hpp>
-#include <boost/conversion/type_traits/is_extrinsic_convertible.hpp>
+#include <boost/conversion/is_extrinsically_convertible.hpp>
 #include <boost/conversion/detail/is_optional.hpp>
 #include <boost/optional.hpp>
 
@@ -98,14 +98,14 @@
     //! @tparam Target target type of the conversion.
     //! @tparam Source source type of the conversion.
     //!
- //! @Requires @c is_extrinsic_convertible<Source,Target>
+ //! @Requires @c is_extrinsically_convertible<Source,Target>
     template < typename Target, typename Source >
     struct explicit_converter<Target, Source,
 #if defined(BOOST_CONVERSION_DOXYGEN_INVOKED)
         requires(ExtrinsicConvertible<Source,Target>)
 #else
         typename enable_if_c<
- is_extrinsic_convertible<Source,Target>::value
+ is_extrinsically_convertible<Source,Target>::value
             && !is_explicitly_convertible<Source,Target>::value
             && !(detail::is_optional<Target>::value && !detail::is_optional<Source>::value)
>::type
@@ -125,7 +125,7 @@
     //! @tparam Target target type of the conversion.
     //! @tparam Source source type of the conversion.
     //!
- //! @Requires @c is_extrinsic_explicit_convertible<Source,Target>
+ //! @Requires @c is_extrinsically_explicit_convertible<Source,Target>
     //! We can see this specialization as a try_convert_to function.
     template < class Target, class Source>
     struct explicit_converter< optional<Target>, Source,

Modified: sandbox/conversion/boost/conversion/include.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/include.hpp (original)
+++ sandbox/conversion/boost/conversion/include.hpp 2011-07-13 00:43:29 EDT (Wed, 13 Jul 2011)
@@ -25,5 +25,8 @@
 #include <boost/conversion/try_convert_to.hpp>
 #include <boost/conversion/convert_to_or_fallback.hpp>
 #include <boost/conversion/try_assign_to.hpp>
+#include <boost/conversion/is_extrinsically_assignable.hpp>
+#include <boost/conversion/is_extrinsically_convertible.hpp>
+#include <boost/conversion/is_extrinsically_explicit_convertible.hpp>
 #endif
 

Modified: sandbox/conversion/boost/conversion/std/complex.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/std/complex.hpp (original)
+++ sandbox/conversion/boost/conversion/std/complex.hpp 2011-07-13 00:43:29 EDT (Wed, 13 Jul 2011)
@@ -39,7 +39,7 @@
     template < class Target, class Source>
     struct converter_cp< std::complex<Target>, std::complex<Source>
       BOOST_CONVERSION_REQUIRES((
- is_extrinsic_convertible<Source,Target>::value
+ is_extrinsically_convertible<Source,Target>::value
       ))
> : true_type
     {
@@ -53,7 +53,7 @@
     template < class Target, class Source>
     struct assigner_cp< std::complex<Target>, std::complex<Source>
       BOOST_CONVERSION_REQUIRES((
- is_extrinsic_convertible<Source,Target>::value
+ is_extrinsically_convertible<Source,Target>::value
       ))
> : true_type
     {

Modified: sandbox/conversion/boost/conversion/std/pair.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/std/pair.hpp (original)
+++ sandbox/conversion/boost/conversion/std/pair.hpp 2011-07-13 00:43:29 EDT (Wed, 13 Jul 2011)
@@ -46,8 +46,8 @@
         )
 #elif defined(BOOST_CONVERSION_ENABLE_CND)
         , typename enable_if_c<
- is_extrinsic_convertible<S1,T1>::value
- && is_extrinsic_convertible<S2,T2>::value
+ is_extrinsically_convertible<S1,T1>::value
+ && is_extrinsically_convertible<S2,T2>::value
>::type
 #endif
> : true_type
@@ -65,8 +65,8 @@
     template < class T1, class T2, class S1, class S2>
     struct assigner_cp< std::pair<T1,T2>, std::pair<S1,S2>
       BOOST_CONVERSION_REQUIRES((
- is_extrinsic_convertible<S1,T1>::value
- && is_extrinsic_convertible<S2,T2>::value
+ is_extrinsically_convertible<S1,T1>::value
+ && is_extrinsically_convertible<S2,T2>::value
       ))
> : true_type
     {

Modified: sandbox/conversion/boost/conversion/std/vector.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/std/vector.hpp (original)
+++ sandbox/conversion/boost/conversion/std/vector.hpp 2011-07-13 00:43:29 EDT (Wed, 13 Jul 2011)
@@ -23,7 +23,7 @@
 #include <boost/conversion/convert_to.hpp>
 #include <boost/conversion/assign_to.hpp>
 //#include <boost/conversion/pack.hpp>
-#include <boost/conversion/type_traits/is_extrinsic_assignable.hpp>
+#include <boost/conversion/is_extrinsically_assignable.hpp>
 
 
 
@@ -48,7 +48,7 @@
         )
 #elif defined(BOOST_CONVERSION_ENABLE_CND)
         , typename enable_if_c<
- is_extrinsic_assignable<T1,T2>::value
+ is_extrinsically_assignable<T1,T2>::value
>::type
 #endif
> : true_type
@@ -72,7 +72,7 @@
     template < class T1, class A1, class T2, class A2>
     struct assigner_cp< std::vector<T1,A1>, std::vector<T2,A2>
     BOOST_CONVERSION_REQUIRES((
- is_extrinsic_assignable<T1,T2>::value
+ is_extrinsically_assignable<T1,T2>::value
     ))
> : true_type
     {

Deleted: sandbox/conversion/boost/conversion/type_traits/is_extrinsic_assignable.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/type_traits/is_extrinsic_assignable.hpp 2011-07-13 00:43:29 EDT (Wed, 13 Jul 2011)
+++ (empty file)
@@ -1,42 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//
-// (C) Copyright Vicente J. Botet Escriba 2009-2011. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-//
-// See http://www.boost.org/libs/conversion for documentation.
-//
-//////////////////////////////////////////////////////////////////////////////
-/**
- * @file
- * @brief Defines the type trait @c is_extrinsic_assignable.
- */
-
-
-#ifndef BOOST_CONVERSION_TT_IS_EXTRINSIC_ASSIGNABLE_HPP
-#define BOOST_CONVERSION_TT_IS_EXTRINSIC_ASSIGNABLE_HPP
-
-#include <boost/conversion/assign_to.hpp>
-
-namespace boost {
-
- /**
- * States if @c Target is extrinsic assignable from @c Source.
- *
- * Condition: @c true_type if and only if the return expression in the following code
- * would be well-formed:
- * @code
- * assign_to(declval<Target>(), declval<Source>()); }
- * @endcode
- *
- * @Requires @c Target and @c Source must be complete types, (possibly cv-qualified) void, or arrays of unknown bound.
- *
- */
- template <class Target, class Source>
- struct is_extrinsic_assignable : conversion::assigner<Target, Source> {};
-
-}
-
-
-#endif
-

Deleted: sandbox/conversion/boost/conversion/type_traits/is_extrinsic_convertible.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/type_traits/is_extrinsic_convertible.hpp 2011-07-13 00:43:29 EDT (Wed, 13 Jul 2011)
+++ (empty file)
@@ -1,60 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//
-// (C) Copyright Vicente J. Botet Escriba 2009-2011. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-//
-// See http://www.boost.org/libs/conversion for documentation.
-//
-//////////////////////////////////////////////////////////////////////////////
-/**
- * @file
- * @brief Defines the type trait @c is_extrinsic_convertible.
- */
-
-#ifndef BOOST_CONVERSION_TT_IS_EXTRINSIC_CONVERTIBLE_HPP
-#define BOOST_CONVERSION_TT_IS_EXTRINSIC_CONVERTIBLE_HPP
-
-#include <boost/conversion/implicit_convert_to.hpp>
-#include <boost/type_traits/remove_reference.hpp>
-#include <boost/type_traits/remove_cv.hpp>
-#include <boost/fusion/tuple.hpp>
-
-namespace boost {
-
- /**
- * States if @c Source is extrinsic convertible to @c Target.
- *
- * Condition: @c true_type if and only if the return expression in the following code
- * would be well-formed:
- * @code
- * Target test() { return implicit_convert_to<Target>(declval<Source>()); }
- * @endcode
- *
- * @Requires @c Target and @c Source must be complete types, (possibly cv-qualified) void, or arrays of unknown bound.
- *
- */
- template <class Source, class Target>
- struct is_extrinsic_convertible : conversion::converter<
- Target, Source
- //typename remove_reference<typename remove_cv<Target>::type>::type,
- //typename remove_reference<typename remove_cv<Source>::type>::type
- > {};
-#if !defined(BOOST_CONVERSION_DOXYGEN_INVOKED)
- template <class T>
- struct is_extrinsic_convertible<fusion::void_,T> : false_type {};
- template <>
- struct is_extrinsic_convertible<void, void> : true_type {};
- template <>
- struct is_extrinsic_convertible<const void,void> : true_type {};
- template <>
- struct is_extrinsic_convertible<void, const void> : true_type {};
- template <>
- struct is_extrinsic_convertible<const void, const void> : true_type {};
-#endif
-
-}
-
-
-#endif
-

Deleted: sandbox/conversion/boost/conversion/type_traits/is_extrinsic_explicit_convertible.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/type_traits/is_extrinsic_explicit_convertible.hpp 2011-07-13 00:43:29 EDT (Wed, 13 Jul 2011)
+++ (empty file)
@@ -1,54 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//
-// (C) Copyright Vicente J. Botet Escriba 2009-2011. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-//
-// See http://www.boost.org/libs/conversion for documentation.
-//
-//////////////////////////////////////////////////////////////////////////////
-/**
- * @file
- * @brief Defines the type trait @c is_extrinsic_explicit_convertible.
- */
-
-#ifndef BOOST_CONVERSION_TT_IS_EXTRINSIC_EXPLICIT_CONVERTIBLE_HPP
-#define BOOST_CONVERSION_TT_IS_EXTRINSIC_EXPLICIT_CONVERTIBLE_HPP
-
-#include <boost/conversion/explicit_convert_to.hpp>
-#include <boost/fusion/tuple.hpp>
-
-namespace boost {
-
- /**
- * States if @c Source is extrinsic explicit convertible to @c Target.
- *
- * Condition: @c true_type if and only if the return expression in the following code
- * would be well-formed:
- * @code
- * Target test() { return explicit_convert_to<Target>(declval<Source>()); }
- * @endcode
- *
- * @Requires @c Target and @c Source must be complete types, (possibly cv-qualified) void, or arrays of unknown bound.
- *
- */
- template <class Source, class Target>
- struct is_extrinsic_explicit_convertible : conversion::explicit_converter<Target, Source> {};
-#if !defined(BOOST_CONVERSION_DOXYGEN_INVOKED)
- template <class T>
- struct is_extrinsic_explicit_convertible<fusion::void_,T> : false_type {};
- template <>
- struct is_extrinsic_explicit_convertible<void, void> : true_type {};
- template <>
- struct is_extrinsic_explicit_convertible<const void,void> : true_type {};
- template <>
- struct is_extrinsic_explicit_convertible<void, const void> : true_type {};
- template <>
- struct is_extrinsic_explicit_convertible<const void, const void> : true_type {};
-#endif
-
-}
-
-
-#endif
-


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