Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70367 - sandbox/assign_v2/boost/assign/v2/interpreter
From: erwann.rogard_at_[hidden]
Date: 2011-03-21 17:47:01


Author: e_r
Date: 2011-03-21 17:47:00 EDT (Mon, 21 Mar 2011)
New Revision: 70367
URL: http://svn.boost.org/trac/boost/changeset/70367

Log:
upd assign_v2
Added:
   sandbox/assign_v2/boost/assign/v2/interpreter/data.hpp
      - copied unchanged from r70366, /sandbox/assign_v2/boost/assign/v2/interpreter/fun.hpp
Removed:
   sandbox/assign_v2/boost/assign/v2/interpreter/fun.hpp

Deleted: sandbox/assign_v2/boost/assign/v2/interpreter/fun.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/interpreter/fun.hpp 2011-03-21 17:47:00 EDT (Mon, 21 Mar 2011)
+++ (empty file)
@@ -1,62 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-// Boost.Assign v2 //
-// //
-// Copyright (C) 2003-2004 Thorsten Ottosen //
-// Copyright (C) 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_V2_INTERPRETER_FUN_ER_2010_HPP
-#define BOOST_ASSIGN_V2_INTERPRETER_FUN_ER_2010_HPP
-#include <boost/assign/v2/detail/traits/ptr_container/to_value_container.hpp>
-#include <boost/assign/v2/detail/traits/ptr_container/meta.hpp>
-#include <boost/assign/v2/detail/functor/constructor.hpp>
-#include <boost/assign/v2/detail/functor/new.hpp>
-#include <boost/mpl/eval_if.hpp>
-
-#include <boost/type_traits/remove_pointer.hpp>
-#include <boost/type_traits/is_pointer.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-//[syntax_framework_fun
-namespace aux{
-
- template<typename C>
- struct container_value{ typedef typename C::value_type type; };
-
- template<typename /*<<Pointer-container>>*/PtrC>
- struct /*<<Meta-function mapping the `PtrC`'s pointer-type to a factory thereof>>*/ deduce_fun_pointer/*<-*/
- {
- typedef typename v2::ptr_container_aux::to_value_container<
- PtrC
- >::type cont_;
- typedef functor_aux::new_<typename cont_::value_type> type;
- }/*->*/;
-
- template<typename /*<<Value-container>>*/C>
- struct /*<<Meta-function mapping `C`'s value-type to a factory thereof>>*/ deduce_fun_value/*<-*/
- {
-// typedef typename v2::container_traits::value<C>::type value_type;
- typedef functor_aux::constructor<typename C::value_type> type;
- }/*->*/;
-
- template<typename /*<<Either of a value or pointer-container>>*/C>
- struct /*<<Meta-function mapping `C`s element-type to a factory thereof>>*/deduce_fun/*<-*/
- : boost::mpl::eval_if<
- ptr_container_aux::is_ptr_container<C>,
- deduce_fun_pointer<C>,
- deduce_fun_value<C>
- >
- {}/*->*/;
-
-
-}// aux
-//]
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_INTERPRETER_FUN_ER_2010_HPP


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