|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r60793 - sandbox/statistics/detail/assign/boost/assign/auto_size/array
From: erwann.rogard_at_[hidden]
Date: 2010-03-23 11:17:45
Author: e_r
Date: 2010-03-23 11:17:45 EDT (Tue, 23 Mar 2010)
New Revision: 60793
URL: http://svn.boost.org/trac/boost/changeset/60793
Log:
m
Removed:
sandbox/statistics/detail/assign/boost/assign/auto_size/array/converter.hpp
Deleted: sandbox/statistics/detail/assign/boost/assign/auto_size/array/converter.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/array/converter.hpp 2010-03-23 11:17:45 EDT (Tue, 23 Mar 2010)
+++ (empty file)
@@ -1,75 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-// assign::detail::array::converter.hpp //
-// //
-// (C) Copyright 2010 Erwann Rogard //
-// Use, modification and distribution are subject to 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) //
-//////////////////////////////////////////////////////////////////////////////
-#ifndef BOOST_ASSIGN_AUTO_SIZE_DETAIL_ARRAY_CONVERTER_ER_2010_HPP
-#define BOOST_ASSIGN_AUTO_SIZE_DETAIL_ARRAY_CONVERTER_ER_2010_HPP
-#include <boost/typeof/typeof.hpp>
-
-namespace boost{
-namespace assign{
-namespace detail{
-namespace auto_size{
-
- template< typename T, typename I >
- class converter
- {
-
-// friend class boost::assign_detail::converter<this_,I>;
-
- public:
- typedef typename I iterator;
- typedef typename I const_iterator;
-
- template< class Container >
- Container convert_to_container() const
- {
- return static_cast<
- const T&>(*this).convert_to_container<Container>();
- }
-
- template< class Container >
- Container to_container( Container& c ) const
- {
- return static_cast<const T&>(*this).to_container(c);
- }
-
- struct result_of_to_adapter{
- static const D impl;
-
- typedef BOOST_TYPEOF_TPL( impl.to_adapter() ) type;
-
- // needed bec impl_::adapter_converter is private
-
- };
-
- typename result_of_to_adapter::type
- to_adapter() const
- {
- return static_cast<const T&>(*this).to_adapter();
- }
-
- template< class Adapter >
- Adapter to_adapter( Adapter& a ) const
- {
- return static_cast<const T&>(*this).to_adapter(a);
- }
-
- template< class Array >
- Array to_array( Array& a ) const
- {
- return static_cast<const T&>(*this).to_array(a);
- }
-
- };
-
-}// auto_size
-}// detail
-}// assign
-}// boost
-
-#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