Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70273 - sandbox/assign_v2/boost/assign/v2/value
From: erwann.rogard_at_[hidden]
Date: 2011-03-20 21:45:29


Author: e_r
Date: 2011-03-20 21:45:29 EDT (Sun, 20 Mar 2011)
New Revision: 70273
URL: http://svn.boost.org/trac/boost/changeset/70273

Log:
upd assign_v2
Removed:
   sandbox/assign_v2/boost/assign/v2/value/put.hpp

Deleted: sandbox/assign_v2/boost/assign/v2/value/put.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/value/put.hpp 2011-03-20 21:45:29 EDT (Sun, 20 Mar 2011)
+++ (empty file)
@@ -1,102 +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_VALUE_PUT_ER_2010_HPP
-#define BOOST_ASSIGN_V2_VALUE_PUT_ER_2010_HPP
-#include <boost/assign/v2/value/adapter/crtp.hpp>
-#include <boost/assign/v2/value/adapter/modifier.hpp>
-#include <boost/assign/v2/value/adapter/replace_parameter.hpp>
-#include <boost/assign/v2/detail/pp/ignore.hpp>
-#include <boost/assign/v2/fun/deduce.hpp>
-#include <boost/assign/v2/modifier/deduce.hpp>
-#include <boost/assign/v2/ref/wrapper/copy.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-//[syntax_put_put
-namespace value_aux{
-
- template<typename C, typename F, typename Tag>
- class container_adapter
-//<-
- : protected ref::wrapper< ref::assign_tag::copy, C >
- , public value_aux::adapter_crtp< C, F, Tag, container_adapter<C, F, Tag> >
-//->
- {
-//<-
- typedef value_aux::adapter_crtp< C, F, Tag, container_adapter > super2_t;
-//->
- public:
-
- typedef /*<-*/ typename super2_t::result_type BOOST_ASSIGN_V2_IGNORE(/*->*/ unspecified /*<-*/) /*->*/result_type;
-//<-
- protected:
-
- typedef value_aux::adapter_modifier<Tag> modifier_;
- typedef ref::assign_tag::copy assign_tag_;
- typedef ref::wrapper<assign_tag_,C> super1_t;
-//->
- public:
-
- container_adapter()/*<-*/
- {}BOOST_ASSIGN_V2_IGNORE(/*->*/;/*<-*/)/*->*/
- explicit container_adapter( C& cont )/*<-*/
- : super1_t( cont )
- {}BOOST_ASSIGN_V2_IGNORE(/*->*/;/*<-*/)/*->*/
- explicit container_adapter( C& cont, F const& f, modifier_ const& m )/*<-*/
- : super1_t( cont ), super2_t( f, m )
- {
- // This constructor is required in conjunction with modulo
- }BOOST_ASSIGN_V2_IGNORE(/*->*/;/*<-*/)/*->*/
-
- C& container()const/*<-*/{
- return static_cast<super1_t const&>(*this).get();
- }BOOST_ASSIGN_V2_IGNORE(/*->*/;/*<-*/)/*->*/
-
- };
-
- template<typename C, typename F, typename Tag>
- struct /*<<Meta-function class>>*/replace_fun< value_aux::container_adapter<C, F, Tag> >{/*<-*/
- template<typename F1>
- struct apply{ typedef value_aux::container_adapter<C, F1, Tag> type; };
- /*->*/};
-
- template<typename C, typename F, typename Tag>
- struct /*<<Meta-function class>>*/replace_modifier_tag< value_aux::container_adapter<C, F, Tag> >{/*<-*/
- template<typename Tag1>
- struct apply{ typedef value_aux::container_adapter<C, F, Tag1> type; };
- /*->*/};
-
-}// value_aux
-namespace result_of{
-
- template<typename C>
- struct /*<<Meta-function>>*/put{/*<-*/
- typedef typename value_aux::deduce_fun<C>::type f_;
- typedef typename value_aux::deduce_modifier_tag<C>::type modifier_tag_;
- typedef value_aux::container_adapter<C, f_, modifier_tag_> type;
- }/*->*/;
-
-}// result_of
-
- template<typename C>
- typename result_of::put<C>::type
- put( C& cont )/*<-*/
- {
- typedef typename result_of::put<C>::type result_;
- return result_( cont );
- }BOOST_ASSIGN_V2_IGNORE(/*->*/;/*<-*/)/*->*/
-
-//]
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_VALUE_PUT_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