Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60490 - in sandbox/statistics/detail/assign/boost/assign/auto_size: array detail
From: erwann.rogard_at_[hidden]
Date: 2010-03-11 14:28:23


Author: e_r
Date: 2010-03-11 14:28:22 EST (Thu, 11 Mar 2010)
New Revision: 60490
URL: http://svn.boost.org/trac/boost/changeset/60490

Log:
m
Added:
   sandbox/statistics/detail/assign/boost/assign/auto_size/array/has_static_size.hpp
      - copied unchanged from r60420, /sandbox/statistics/detail/assign/boost/assign/auto_size/detail/has_static_size.hpp
Removed:
   sandbox/statistics/detail/assign/boost/assign/auto_size/detail/has_static_size.hpp
Text files modified:
   sandbox/statistics/detail/assign/boost/assign/auto_size/detail/expr.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/detail/expr.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/detail/expr.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/detail/expr.hpp 2010-03-11 14:28:22 EST (Thu, 11 Mar 2010)
@@ -23,8 +23,8 @@
 //#include <boost/range/chain.hpp>
 #include <boost/assign/auto_size/detail/has_static_size.hpp>
 #include <boost/assign/auto_size/detail/static_size.hpp>
-#include <boost/assign/auto_size/detail/assign_reference_copy.hpp>
-#include <boost/assign/auto_size/detail/assign_reference_rebind.hpp>
+#include <boost/assign/auto_size/reference_wrapper/assign_reference_copy.hpp>
+#include <boost/assign/auto_size/reference_wrapper/assign_reference_rebind.hpp>
 #include <boost/assign/auto_size/detail/policy.hpp>
 #include <boost/assign/auto_size/detail/types.hpp>
 #include <boost/assign/auto_size/detail/expr_size.hpp>

Deleted: sandbox/statistics/detail/assign/boost/assign/auto_size/detail/has_static_size.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/detail/has_static_size.hpp 2010-03-11 14:28:22 EST (Thu, 11 Mar 2010)
+++ (empty file)
@@ -1,52 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-// assign::detail::auto_size::has_static_size.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_DETAIL_AUTO_SIZE_HAS_STATIC_SIZE_ER_2010_HPP
-#define BOOST_ASSIGN_DETAIL_AUTO_SIZE_HAS_STATIC_SIZE_ER_2010_HPP
-#include <boost/mpl/bool.hpp>
-#include <boost/type_traits/detail/yes_no_type.hpp>
-
-namespace boost{
-namespace assign{
-namespace detail{
-namespace auto_size{
-
- template<typename T>
- struct has_static_size{
- typedef typename T::size_type size_type;
- typedef typename type_traits::yes_type yes;
- typedef typename type_traits::no_type no;
- typedef const size_type* sig1;
- typedef const size_type sig2; // for boost::array<>
-
- template<typename U,sig1>
- struct sfinae1 { };
-
- template<typename U,sig2>
- struct sfinae2 { };
-
- //template<typename U> static yes test(sfinae1<U, &U::static_size> *);
- template<typename U> static yes test(sfinae2<U, U::static_size> *);
- template<typename U> static no test(...);
-
- BOOST_STATIC_CONSTANT(
- bool,
- value = sizeof( test<T>(0) ) == sizeof(yes)
- );
-
- typedef boost::mpl::bool_<value> type;
- };
-
-}// auto_size
-}// detail
-}// assign
-}// boost
-
-#endif
-
-
\ No newline at end of file


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