$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r73226 - in sandbox/conversion/boost/conversion: . std
From: vicente.botet_at_[hidden]
Date: 2011-07-18 20:00:37
Author: viboes
Date: 2011-07-18 20:00:36 EDT (Mon, 18 Jul 2011)
New Revision: 73226
URL: http://svn.boost.org/trac/boost/changeset/73226
Log:
conversion: cleanup of unsued files
Removed:
   sandbox/conversion/boost/conversion/extractor.hpp
   sandbox/conversion/boost/conversion/pack.hpp
   sandbox/conversion/boost/conversion/std/complex.hpp
Text files modified: 
   sandbox/conversion/boost/conversion/std/vector.hpp |     3 ---                                     
   1 files changed, 0 insertions(+), 3 deletions(-)
Deleted: sandbox/conversion/boost/conversion/extractor.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/extractor.hpp	2011-07-18 20:00:36 EDT (Mon, 18 Jul 2011)
+++ (empty file)
@@ -1,85 +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/synchro for documentation.
-//
-//////////////////////////////////////////////////////////////////////////////
-
-/*!
- @file
- @brief
- Include this file when using conversions from @c std::istream.
- */
-
-
-#ifndef BOOST_CONVERSION_EXTRACTOR_HPP
-#define BOOST_CONVERSION_EXTRACTOR_HPP
-
-#include <boost/conversion/convert_to.hpp>
-#include <sstream>
-
-namespace boost {
-  namespace conversion {
-
-    class extract_t { };
-    const extract_t extract={};
-
-    
-    template <typename T>
-    class extractor_stream {
-      std::stringstream ios_;
-      T value_;
-
-    public:
-
-      template<typename U>
-      extractor_stream& operator<< (U u) { return (ios_ << u, *this); }
-
-      template<typename U>
-      extractor_stream& operator>> (U u) { return (ios_ >> u, *this); }
-
-
-      T operator>> (extract_t const&) {
-        T value;
-        ios_ >> value;
-        return value;
-      }
-
-    };
-    
-    template <typename T>
-    class extract_to { };
-
-    class via_stream {
-      std::stringstream ios_;
-      
-    public:
-      
-      template<typename U>
-      via_stream& operator<< (U u) { return (ios_ << u, *this); }
-      
-      template<typename U>
-      via_stream& operator>> (U u) { return (ios_ >> u, *this); }
-      
-      
-      template<typename T>
-      T operator>> (extract_to<T> const&) {
-        T value;
-        ios_ >> value;
-        return value;
-      }
-      
-    };
-    
-
-
-    
-
-  }
-}
-
-#endif
-
Deleted: sandbox/conversion/boost/conversion/pack.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/pack.hpp	2011-07-18 20:00:36 EDT (Mon, 18 Jul 2011)
+++ (empty file)
@@ -1,111 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//
-// (C) Copyright Vicente J. Botet Escriba 2009. 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.
-//
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef BOOST_CONVERSION_PACK_HPP
-#define BOOST_CONVERSION_PACK_HPP
-
-#include <boost/ref.hpp>
-#include <boost/fusion/adapted/std_pair.hpp>
-#include <boost/fusion/tuple.hpp>
-#include <boost/fusion/include/at_c.hpp>
-#include <boost/fusion/support/pair.hpp>
-
-/*!
- @file
- @brief
- Defines the pack function.
-
-
- The result of the @c pack function is equivalent to a fusion sequence containing @c boost::reference_warpper's
- instead of C++ reference (&) as this are not allowed.
-
-*/
-
-namespace boost {
-  namespace conversion {
-    namespace result_of {
-
-      //! meta-function getting a @c std::pair of @c boost::reference_warpper's.
-      //!
-      template <typename T1, typename T2> struct pack2 {
-          typedef
-          std::pair<
-          //~ fusion::tuple<
-            boost::reference_wrapper<T1>
-          , boost::reference_wrapper<T2>
-          > type;
-      };
-      //! meta-function getting a fusion sequence of @c boost::reference_warpper's.
-      //!
-      template <typename T1, typename T2, typename T3=fusion::void_> struct pack3 {
-          typedef fusion::tuple<
-              boost::reference_wrapper<T1>
-          , boost::reference_wrapper<T2>
-          , boost::reference_wrapper<T3>
-          > type;
-      };
-  }
-
-    //! packs together references.
-    //!
-    template <typename T1, typename T2>
-    typename boost::conversion::result_of::pack2<T1 const, T2 const>::type pack(
-            T1 const& t1, T2 const& t2) {
-            return std::make_pair
-            //~ return boost::fusion::make_tuple
-                (boost::cref(t1), boost::cref(t2));
-    }
-
-    //! packs together references.
-    //!
-    template <typename T1, typename T2>
-    typename boost::conversion::result_of::pack2<T1 const, T2>::type pack(T1 const& t1, T2 & t2) {
-            return std::make_pair
-            //~ return boost::fusion::make_tuple
-                (boost::cref(t1), boost::ref(t2));
-    }
-
-    //! packs together references.
-    //!
-    template <typename T1, typename T2, typename T3>
-    typename boost::conversion::result_of::pack3<T1 const, T2 const, T3 const>::type pack(
-            T1 const& t1, T2 const& t2, T3 const& t3) {
-            return fusion::make_tuple(boost::cref(t1), boost::cref(t2), boost::cref(t3));
-    }
-
-    //! packs together references.
-    //!
-    template <typename T1, typename T2, typename T3>
-    typename boost::conversion::result_of::pack3<T1 const, T2 const, T3>::type pack(
-            T1 const& t1, T2 const& t2, T3 & t3) {
-            return fusion::make_tuple(boost::cref(t1), boost::cref(t2), boost::ref(t3));
-    }
-
-    //! packs together references.
-    //!
-    template <typename T1, typename T2, typename T3>
-    typename boost::conversion::result_of::pack3<T1 const, T2, T3 const>::type pack(
-            T1 const& t1, T2 & t2, T3 const& t3) {
-            return fusion::make_tuple(boost::cref(t1), boost::ref(t2), boost::cref(t3));
-    }
-
-    //! packs together references.
-    //!
-    template <typename T1, typename T2, typename T3>
-    typename boost::conversion::result_of::pack3<T1 const, T2, T3>::type pack(
-            T1 const& t1, T2 & t2, T3 & t3) {
-            return fusion::make_tuple(boost::cref(t1), boost::ref(t2), boost::ref(t3));
-    }
-
-  }
-}
-
-#endif
-
Deleted: sandbox/conversion/boost/conversion/std/complex.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/std/complex.hpp	2011-07-18 20:00:36 EDT (Mon, 18 Jul 2011)
+++ (empty file)
@@ -1,72 +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/synchro for documentation.
-//
-//////////////////////////////////////////////////////////////////////////////
-
-
-
-/*!
- @file
- @brief
- Include this file when using conversions between @c std::complex<> of convertible types.
- */
-
-#ifndef BOOST_CONVERSION_STD_COMPLEX_HPP
-#define BOOST_CONVERSION_STD_COMPLEX_HPP
-
-#include <boost/conversion/type_traits/std/complex.hpp>
-#include <boost/conversion/convert_to.hpp>
-#include <boost/conversion/assign_to.hpp>
-
-
-
-namespace boost {
-#if defined(BOOST_CONVERSION_DOXYGEN_INVOKED)
-  //! trick to generate the doc. Don't take care of it
-  struct trick_complex{};
-#endif
-  
-  namespace conversion {
-
-    /**
-     * Partial specialization of @c convert_to for @c std::complex of the same size
-     */
-    template < class Target, class Source>
-    struct implicit_converter_cp< std::complex<Target>, std::complex<Source>
-      BOOST_CONVERSION_REQUIRES((
-        is_extrinsically_convertible<Source,Target>::value
-      ))
-    > : true_type
-    {
-      std::complex<Target> operator()(std::complex<Source> const & from)
-      {
-        return std::complex<Target>(
-            boost::conversion::convert_to<Target>(from.real()),
-            boost::conversion::convert_to<Target>(from.imag()));
-      }
-    };
-    template < class Target, class Source>
-    struct assigner_cp< std::complex<Target>, std::complex<Source>
-      BOOST_CONVERSION_REQUIRES((
-        is_extrinsically_convertible<Source,Target>::value
-      ))
-    > : true_type
-    {
-      std::complex<Target>& operator()(std::complex<Target>& to, const std::complex<Source>& from)
-      {
-        to.real() = boost::conversion::convert_to<Target>(from.real());
-        to.imag() = boost::conversion::convert_to<Target>(from.imag());
-        return to;
-      }
-    };
-
-  }
-}
-
-#endif
-
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-18 20:00:36 EDT (Mon, 18 Jul 2011)
@@ -22,11 +22,8 @@
 #include <boost/conversion/type_traits/std/vector.hpp>
 #include <boost/conversion/convert_to.hpp>
 #include <boost/conversion/assign_to.hpp>
-//#include <boost/conversion/pack.hpp>
 #include <boost/conversion/is_extrinsically_assignable.hpp>
 
-
-
 namespace boost {
 #if defined(BOOST_CONVERSION_DOXYGEN_INVOKED)
   //! trick to generate the doc. Don't take care of it