Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66858 - sandbox/statistics/support/boost/assign/v2
From: erwann.rogard_at_[hidden]
Date: 2010-11-29 17:04:59


Author: e_r
Date: 2010-11-29 17:04:58 EST (Mon, 29 Nov 2010)
New Revision: 66858
URL: http://svn.boost.org/trac/boost/changeset/66858

Log:
cosmetic update to boost/assign/v2
Text files modified:
   sandbox/statistics/support/boost/assign/v2/anon.hpp | 4 ++++
   sandbox/statistics/support/boost/assign/v2/chain.hpp | 6 +++---
   sandbox/statistics/support/boost/assign/v2/put.hpp | 4 ++++
   sandbox/statistics/support/boost/assign/v2/ref.hpp | 7 +++++--
   4 files changed, 16 insertions(+), 5 deletions(-)

Modified: sandbox/statistics/support/boost/assign/v2/anon.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/anon.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/anon.hpp 2010-11-29 17:04:58 EST (Mon, 29 Nov 2010)
@@ -14,4 +14,8 @@
 #include <boost/assign/v2/anon/cont.hpp>
 #include <boost/assign/v2/anon/csv.hpp>
 
+// Basic usage
+// using namespace boost::assign::v2;
+// boost::copy(csv_anon(x, y, z), std::ostream_iterator<T>(std::cout," "));
+
 #endif
\ No newline at end of file

Modified: sandbox/statistics/support/boost/assign/v2/chain.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/chain.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/chain.hpp 2010-11-29 17:04:58 EST (Mon, 29 Nov 2010)
@@ -11,11 +11,11 @@
 #define BOOST_ASSIGN_V2_CHAIN_ER_2010_HPP
 #include <boost/assign/v2/chain/traits/result.hpp>
 #include <boost/assign/v2/chain/aux_/bitwise_or.hpp>
-// #include <boost/assign/v2/chain/aux_/logical_and.hpp> // TODO remove
 
 // Usage
-// using namespace boost::assign::v2;
+// using namespace boost::assign::v2;
 // using namespace adaptor;
-// w = r1 | chain( r2 ) | chain( r3 );
+// boost::copy(
+// r1 | _chain( r2 ) | _chain( r3 ), ostream_iterator<T>(std::cout, " "));
 
 #endif

Modified: sandbox/statistics/support/boost/assign/v2/put.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/put.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/put.hpp 2010-11-29 17:04:58 EST (Mon, 29 Nov 2010)
@@ -16,4 +16,8 @@
 #include <boost/assign/v2/put/range.hpp>
 #include <boost/assign/v2/put/sub.hpp>
 
+// Basic usage:
+// using namespace boost::assign::v2;
+// cont | adaptor::_csv_put(x, y, z)
+
 #endif

Modified: sandbox/statistics/support/boost/assign/v2/ref.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/ref.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/ref.hpp 2010-11-29 17:04:58 EST (Mon, 29 Nov 2010)
@@ -11,8 +11,11 @@
 #define BOOST_ASSIGN_V2_REF_ER_2010_HPP
 
 #include <boost/assign/v2/ref/anon.hpp>
-#include <boost/assign/v2/ref/fusion.hpp>
-#include <boost/assign/v2/ref/fusion_matrix.hpp>
 #include <boost/assign/v2/ref/wrapper.hpp>
 
+// Basic usage
+// using namespace boost::assign:v2;
+// namespace ns = ref::assign_copy;
+// ns::csv_anon( x, y ,z ).assign( w );
+
 #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