Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70458 - in sandbox/assign_v2/boost/assign/v2: . put
From: erwann.rogard_at_[hidden]
Date: 2011-03-22 21:39:56


Author: e_r
Date: 2011-03-22 21:39:56 EDT (Tue, 22 Mar 2011)
New Revision: 70458
URL: http://svn.boost.org/trac/boost/changeset/70458

Log:
upd assign_v2
Text files modified:
   sandbox/assign_v2/boost/assign/v2/put.hpp | 90 ++++++++++++++++++++++++++++++++++
   sandbox/assign_v2/boost/assign/v2/put/pipe.hpp | 15 -----
   sandbox/assign_v2/boost/assign/v2/put/put.hpp | 102 ---------------------------------------
   3 files changed, 90 insertions(+), 117 deletions(-)

Modified: sandbox/assign_v2/boost/assign/v2/put.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put.hpp 2011-03-22 21:39:56 EDT (Tue, 22 Mar 2011)
@@ -9,7 +9,93 @@
 //////////////////////////////////////////////////////////////////////////////
 #ifndef BOOST_ASSIGN_V2_PUT_ER_2010_HPP
 #define BOOST_ASSIGN_V2_PUT_ER_2010_HPP
-#include <boost/assign/v2/put/pipe.hpp>
-#include <boost/assign/v2/put/put.hpp>
+#include <boost/assign/v2/interpreter/crtp.hpp>
+#include <boost/assign/v2/interpreter/data.hpp>
+#include <boost/assign/v2/interpreter/modifier.hpp>
+#include <boost/assign/v2/interpreter/replace.hpp>
+#include <boost/assign/v2/detail/pp/ignore.hpp>
+#include <boost/assign/v2/ref/wrapper/copy.hpp>
+
+namespace boost{
+namespace assign{
+namespace v2{
+//[syntax_put
+namespace aux{
+
+ template<typename C, typename F, typename Tag>
+ class put_interpreter
+ : protected ref::wrapper< ref::assign_tag::copy, C >,
+//<-
+ public aux::interpreter_crtp< C, F, Tag, put_interpreter<C, F, Tag> >
+//->
+ {
+//<-
+ typedef aux::interpreter_crtp< C, F, Tag, put_interpreter > super2_t;
+//->
+ public:
+
+ typedef /*<-*/ typename super2_t::result_type BOOST_ASSIGN_V2_IGNORE(/*->*/ unspecified /*<-*/) /*->*/result_type;
+//<-
+ protected:
+
+ typedef aux::adapter_modifier<Tag> modifier_;
+ typedef ref::assign_tag::copy assign_tag_;
+ typedef ref::wrapper<assign_tag_,C> super1_t;
+//->
+ public:
+
+ put_interpreter()/*<-*/
+ {}BOOST_ASSIGN_V2_IGNORE(/*->*/;/*<-*/)/*->*/
+ explicit put_interpreter( C& cont )/*<-*/
+ : super1_t( cont )
+ {}BOOST_ASSIGN_V2_IGNORE(/*->*/;/*<-*/)/*->*/
+ explicit put_interpreter( 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 /*<<Metafunction class>>*/replace_data_generator< aux::put_interpreter<C, F, Tag> >{/*<-*/
+ template<typename F1>
+ struct apply{ typedef aux::put_interpreter<C, F1, Tag> type; };
+ /*->*/};
+
+ template<typename C, typename F, typename Tag>
+ struct /*<<Metafunction class>>*/replace_modifier_tag< aux::put_interpreter<C, F, Tag> >{/*<-*/
+ template<typename Tag1>
+ struct apply{ typedef aux::put_interpreter<C, F, Tag1> type; };
+ /*->*/};
+
+}// aux
+namespace result_of{
+
+ template<typename C>
+ struct /*<<Metafunction>>*/put/*<-*/{
+ typedef typename aux::deduce_data_generator<C>::type f_;
+ typedef typename aux::deduce_modifier_tag<C>::type modifier_tag_;
+ typedef aux::put_interpreter<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_PUT_ER_2010_HPP

Modified: sandbox/assign_v2/boost/assign/v2/put/pipe.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe.hpp 2011-03-22 21:39:56 EDT (Tue, 22 Mar 2011)
@@ -1,14 +1 @@
-//////////////////////////////////////////////////////////////////////////////
-// 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_PUT_PIPE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_PIPE_ER_2010_HPP
-#include <boost/assign/v2/put/pipe/csv_put.hpp>
-
-#endif // BOOST_ASSIGN_V2_PUT_PIPE_ER_2010_HPP
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/put/put.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/put.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/put.hpp 2011-03-22 21:39:56 EDT (Tue, 22 Mar 2011)
@@ -1,101 +1 @@
-//////////////////////////////////////////////////////////////////////////////
-// 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_PUT_PUT_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_PUT_ER_2010_HPP
-#include <boost/assign/v2/interpreter/crtp.hpp>
-#include <boost/assign/v2/interpreter/data.hpp>
-#include <boost/assign/v2/interpreter/modifier.hpp>
-#include <boost/assign/v2/interpreter/replace.hpp>
-#include <boost/assign/v2/detail/pp/ignore.hpp>
-#include <boost/assign/v2/ref/wrapper/copy.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-//[syntax_put_put
-namespace aux{
-
- template<typename C, typename F, typename Tag>
- class put_interpreter
- : protected ref::wrapper< ref::assign_tag::copy, C >,
-//<-
- public aux::interpreter_crtp< C, F, Tag, put_interpreter<C, F, Tag> >
-//->
- {
-//<-
- typedef aux::interpreter_crtp< C, F, Tag, put_interpreter > super2_t;
-//->
- public:
-
- typedef /*<-*/ typename super2_t::result_type BOOST_ASSIGN_V2_IGNORE(/*->*/ unspecified /*<-*/) /*->*/result_type;
-//<-
- protected:
-
- typedef aux::adapter_modifier<Tag> modifier_;
- typedef ref::assign_tag::copy assign_tag_;
- typedef ref::wrapper<assign_tag_,C> super1_t;
-//->
- public:
-
- put_interpreter()/*<-*/
- {}BOOST_ASSIGN_V2_IGNORE(/*->*/;/*<-*/)/*->*/
- explicit put_interpreter( C& cont )/*<-*/
- : super1_t( cont )
- {}BOOST_ASSIGN_V2_IGNORE(/*->*/;/*<-*/)/*->*/
- explicit put_interpreter( 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 /*<<Metafunction class>>*/replace_data_generator< aux::put_interpreter<C, F, Tag> >{/*<-*/
- template<typename F1>
- struct apply{ typedef aux::put_interpreter<C, F1, Tag> type; };
- /*->*/};
-
- template<typename C, typename F, typename Tag>
- struct /*<<Metafunction class>>*/replace_modifier_tag< aux::put_interpreter<C, F, Tag> >{/*<-*/
- template<typename Tag1>
- struct apply{ typedef aux::put_interpreter<C, F, Tag1> type; };
- /*->*/};
-
-}// aux
-namespace result_of{
-
- template<typename C>
- struct /*<<Metafunction>>*/put/*<-*/{
- typedef typename aux::deduce_data_generator<C>::type f_;
- typedef typename aux::deduce_modifier_tag<C>::type modifier_tag_;
- typedef aux::put_interpreter<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_PUT_ER_2010_HPP
+// TODO remove file
\ 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