Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67816 - in sandbox/statistics/support/libs/assign/v2/example: . put ref
From: erwann.rogard_at_[hidden]
Date: 2011-01-08 18:59:20


Author: e_r
Date: 2011-01-08 18:59:19 EST (Sat, 08 Jan 2011)
New Revision: 67816
URL: http://svn.boost.org/trac/boost/changeset/67816

Log:
updating libs/assign/v2/example
Added:
   sandbox/statistics/support/libs/assign/v2/example/put/
   sandbox/statistics/support/libs/assign/v2/example/put.cpp (contents, props changed)
   sandbox/statistics/support/libs/assign/v2/example/put.h (contents, props changed)
   sandbox/statistics/support/libs/assign/v2/example/put/convert.cpp (contents, props changed)
   sandbox/statistics/support/libs/assign/v2/example/put/convert.h (contents, props changed)
   sandbox/statistics/support/libs/assign/v2/example/put/deque.cpp (contents, props changed)
   sandbox/statistics/support/libs/assign/v2/example/put/deque.h (contents, props changed)
   sandbox/statistics/support/libs/assign/v2/example/put/pipe.cpp (contents, props changed)
   sandbox/statistics/support/libs/assign/v2/example/put/pipe.h (contents, props changed)
   sandbox/statistics/support/libs/assign/v2/example/put/range.cpp (contents, props changed)
   sandbox/statistics/support/libs/assign/v2/example/put/range.h (contents, props changed)
   sandbox/statistics/support/libs/assign/v2/example/ref/
   sandbox/statistics/support/libs/assign/v2/example/ref.cpp (contents, props changed)
   sandbox/statistics/support/libs/assign/v2/example/ref.h (contents, props changed)
   sandbox/statistics/support/libs/assign/v2/example/ref/array.cpp (contents, props changed)
   sandbox/statistics/support/libs/assign/v2/example/ref/array.h (contents, props changed)

Added: sandbox/statistics/support/libs/assign/v2/example/put.cpp
==============================================================================
--- (empty file)
+++ sandbox/statistics/support/libs/assign/v2/example/put.cpp 2011-01-08 18:59:19 EST (Sat, 08 Jan 2011)
@@ -0,0 +1,27 @@
+//////////////////////////////////////////////////////////////////////////////
+// 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) //
+//////////////////////////////////////////////////////////////////////////////
+#include <libs/assign/v2/example/put/deque.h>
+#include <libs/assign/v2/example/put/convert.h>
+#include <libs/assign/v2/example/put/range.h>
+#include <libs/assign/v2/example/put/pipe.h>
+#include <libs/assign/v2/example/put.h>
+
+namespace example_assign_v2{
+namespace xxx_put{
+
+ void run(std::ostream& os){
+ xxx_deque::run( os );
+ xxx_convert::run( os );
+ xxx_range::run( os );
+ xxx_pipe::run( os );
+ }
+
+}// xxx_put
+}// example_assign_v2

Added: sandbox/statistics/support/libs/assign/v2/example/put.h
==============================================================================
--- (empty file)
+++ sandbox/statistics/support/libs/assign/v2/example/put.h 2011-01-08 18:59:19 EST (Sat, 08 Jan 2011)
@@ -0,0 +1,22 @@
+//////////////////////////////////////////////////////////////////////////////
+// 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_EXAMPLE_PUT_ER_2010_H
+#define BOOST_ASSIGN_V2_EXAMPLE_PUT_ER_2010_H
+#include <ostream>
+
+namespace example_assign_v2{
+namespace xxx_put{
+
+ void run(std::ostream& os);
+
+}// xxx_put
+}// example_assign_v2
+
+#endif

Added: sandbox/statistics/support/libs/assign/v2/example/put/convert.cpp
==============================================================================
--- (empty file)
+++ sandbox/statistics/support/libs/assign/v2/example/put/convert.cpp 2011-01-08 18:59:19 EST (Sat, 08 Jan 2011)
@@ -0,0 +1,45 @@
+//////////////////////////////////////////////////////////////////////////////
+// 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) //
+//////////////////////////////////////////////////////////////////////////////
+#include <vector>
+#include <deque>
+#include <queue>
+#include <stack>
+#include <boost/array.hpp>
+#include <boost/assign/v2/put/pipe/convert.hpp>
+#include <libs/assign/v2/example/include.h>
+#include <libs/assign/v2/example/foo.h>
+#include <libs/assign/v2/example/constants.h>
+#include <libs/assign/v2/example/put/convert.h>
+
+namespace example_assign_v2{
+namespace xxx_put{
+namespace xxx_convert{
+
+ void run(std::ostream& os)
+ {
+ {
+ {
+ //[convert_stack
+ boost::array<int, 3> from;
+ typedef std::stack<int> to_; // LIFO
+ from[0] = -1; from[1] = 0; from[2] = 1;
+ BOOST_ASSERT(
+ (
+ from | as2::put_convert<to_>()
+ ).top() == 1
+ );
+ //]
+ }
+ }
+ }
+
+}// xxx_convert
+}// xxx_put
+}// example_assign_v2

Added: sandbox/statistics/support/libs/assign/v2/example/put/convert.h
==============================================================================
--- (empty file)
+++ sandbox/statistics/support/libs/assign/v2/example/put/convert.h 2011-01-08 18:59:19 EST (Sat, 08 Jan 2011)
@@ -0,0 +1,24 @@
+//////////////////////////////////////////////////////////////////////////////
+// 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_EXAMPLE_CONVERSION_ER_2010_H
+#define BOOST_ASSIGN_V2_EXAMPLE_CONVERSION_ER_2010_H
+#include <ostream>
+
+namespace example_assign_v2{
+namespace xxx_put{
+namespace xxx_convert{
+
+ void run(std::ostream& os);
+
+}// xxx_convert
+}// xxx_put
+}// example_assign_v2
+
+#endif

Added: sandbox/statistics/support/libs/assign/v2/example/put/deque.cpp
==============================================================================
--- (empty file)
+++ sandbox/statistics/support/libs/assign/v2/example/put/deque.cpp 2011-01-08 18:59:19 EST (Sat, 08 Jan 2011)
@@ -0,0 +1,68 @@
+//////////////////////////////////////////////////////////////////////////////
+// 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) //
+//////////////////////////////////////////////////////////////////////////////
+#include <string>
+#include <assert.h>
+#include <boost/assign/v2/put/deque.hpp>
+#include <libs/assign/v2/example/include.h>
+#include <libs/assign/v2/example/foo.h>
+#include <libs/assign/v2/example/put/deque.h>
+
+namespace example_assign_v2{
+namespace xxx_put{
+namespace xxx_deque{
+
+ void run(std::ostream& os)
+ {
+ os << "* xxx_deque " << std::endl;
+ {
+ os << "csv_deque" << ' ';
+ //[csv_deque
+ boost::for_each(
+ as2::csv_deque<std::string>("x", "y", "z" ),
+ os << bl::_1 << ' '
+ );
+ // outputs x, y, z
+ //]
+ os << std::endl;
+ os << "deque" << ' ';
+ {
+ // TODO put in /test
+ int x = 0;
+ assert( as2::deque<Foo>( x )().size() == 1 );
+ }
+ {
+ //[deque
+ int x = 0, z = 1;
+ boost::for_each(
+ as2::deque<Foo>( x )()( z, -1 ),
+ os << bl::_1 << ' '
+ );
+ // outputs (0,0)(NULL,0)(1,-1)
+ //]
+ }
+ {
+ //[deque_push_front
+ int x = 0, z = 1;
+ boost::for_each(
+ (
+ as2::deque<Foo>( as2::_nil ) % as2::_push_front
+ )( x )()( z, -1 ),
+ os << bl::_1 << ' '
+ );
+ // outputs (1,-1)(NULL,0)(0,0)
+ //]
+ }
+ }
+ os << std::endl;
+ }
+
+}// xxx_deque
+}// xxx_put
+}// example_assign_v2

Added: sandbox/statistics/support/libs/assign/v2/example/put/deque.h
==============================================================================
--- (empty file)
+++ sandbox/statistics/support/libs/assign/v2/example/put/deque.h 2011-01-08 18:59:19 EST (Sat, 08 Jan 2011)
@@ -0,0 +1,24 @@
+//////////////////////////////////////////////////////////////////////////////
+// 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_EXAMPLE_ANON_ER_2010_H
+#define BOOST_ASSIGN_V2_EXAMPLE_ANON_ER_2010_H
+#include <ostream>
+
+namespace example_assign_v2{
+namespace xxx_put{
+namespace xxx_deque{
+
+ void run(std::ostream& os);
+
+}// xxx_put
+}// xxx_deque
+}// example_assign_v2
+
+#endif

Added: sandbox/statistics/support/libs/assign/v2/example/put/pipe.cpp
==============================================================================
--- (empty file)
+++ sandbox/statistics/support/libs/assign/v2/example/put/pipe.cpp 2011-01-08 18:59:19 EST (Sat, 08 Jan 2011)
@@ -0,0 +1,168 @@
+//////////////////////////////////////////////////////////////////////////////
+// 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) //
+//////////////////////////////////////////////////////////////////////////////
+#include <vector>
+#include <deque>
+#include <list>
+#include <map>
+#include <string>
+
+#include <boost/array.hpp>
+#include <boost/lambda/lambda.hpp>
+#include <boost/ptr_container/ptr_vector.hpp>
+
+#include <boost/assign/v2/put/pipe/csv.hpp>
+#include <boost/assign/v2/put/pipe/functor.hpp>
+
+#include <libs/assign/v2/example/include.h>
+#include <libs/assign/v2/example/put/operator.h>
+
+namespace example_assign_v2{
+namespace xxx_put{
+namespace xxx_pipe{
+
+ void run(std::ostream& os)
+ {
+ os << "* xxx_put_operator " << std::endl;
+ namespace as2 = ::boost::assign::v2;
+ namespace bl = ::boost::lambda;
+ {
+ os << "vector" << ' ';
+ //[vector
+ std::vector<int> cont;
+ boost::for_each(
+ cont | as2::_csv_put( -1, 0, 1 ),
+ os << bl::_1 << ' '
+ );
+ //outputs -1 0 1
+ //]
+ os << std::endl;
+ }
+ {
+ //[map
+ typedef std::map<const char*, int> cont_;
+ typedef cont_::value_type type;
+ cont_ cont;
+ assert(
+ (
+ cont | as2::_csv_put(
+ type("x", -1),
+ type("y", 0),
+ type("z", 1)
+ )
+ )["y"] == 0
+ );
+ //]
+ }
+ {
+ //[map2
+ std::map<const char*, int> cont;
+ assert(
+ (
+ cont | as2::_put("z", 1)("x", -1)("y", 0)
+ )["y"] == 0
+ );
+ //]
+ }
+ {
+ os << "array" << ' ';
+ //[array
+ boost::array<int,3> cont;
+ boost::for_each(
+ cont | as2::_csv_put( -1, 0, 1 ),
+ os << bl::_1 << ' '
+ );
+ // outputs -1 0 1
+ //]
+ os << std::endl;
+ }
+ {
+ os << "ptr_vector" << ' ';
+ //[ptr_vector
+ boost::ptr_vector<int> cont;
+ boost::for_each(
+ cont | as2::_csv_put( -1, 0, 1 ),
+ os << bl::_1 << ' '
+ );
+ // output -1 0 1
+ //]
+ os << std::endl;
+ }
+ {
+ os << "list" << ' ';
+ //[list
+ std::list<int> cont;
+ boost::for_each(
+ cont | (
+ as2::_csv_put % as2::_push_front
+ )( -1, 0, 1 ),
+ os << bl::_1 << ' '
+ );
+ // output 1 0 -1
+ //]
+ os << std::endl;
+ }
+ {
+ os << std::endl;
+ os << "fun" << ' ';
+
+ //[fun
+ std::vector<int> cont;
+ boost::for_each(
+ cont | (
+ as2::_csv_put % (
+ as2::_fun = (2 * bl::_1)
+ )
+ )( -1, 0, 1 ),
+ os << bl::_1 << ' '
+ );
+ // outputs -2 0 2
+ //]
+ }
+ os << "repeat" << ' ';
+ {
+ //[repeat
+ std::vector<int> cont;
+ boost::for_each(
+ cont | (
+ as2::_csv_put % ( as2::_repeat = 2 )
+ )( -1, 0, 1 ),
+ os << bl::_1 << ' '
+ ); // outputs -1 -1 0 0 1 1
+ //]
+ }
+ {
+ //[lookup
+ std::map<const char*,int> cont;
+ cont["x"] = -1; cont["y"] = 0; cont["z"] = 1;
+ cont | (
+ as2::_csv_put % ( as2::_lookup = ( bl::_1 +=2 ) )
+ )( "z", "x", "y" );
+ assert( cont["y"] == 2 );
+ //]
+ }
+ {
+ //[iterate
+ std::deque<int> cont( 3 );
+ cont[0] = -1;
+ boost::for_each(
+ cont | (
+ as2::_csv_put % ( as2::_iterate = 1 )
+ )( 0, 1 ),
+ os << bl::_1 << ' '
+ ); // outputs -1 0 1
+ //]
+ }
+
+ os << std::endl;
+ }
+
+}// xxx_pipe
+}// xxx_put
+}// example_assign_v2

Added: sandbox/statistics/support/libs/assign/v2/example/put/pipe.h
==============================================================================
--- (empty file)
+++ sandbox/statistics/support/libs/assign/v2/example/put/pipe.h 2011-01-08 18:59:19 EST (Sat, 08 Jan 2011)
@@ -0,0 +1,24 @@
+//////////////////////////////////////////////////////////////////////////////
+// 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_EXAMPLE_PUT_PIPE_ER_2010_H
+#define BOOST_ASSIGN_V2_EXAMPLE_PUT_PIPE_ER_2010_H
+#include <ostream>
+
+namespace example_assign_v2{
+namespace xxx_put{
+namespace xxx_pipe{
+
+ void run(std::ostream& os);
+
+}// xxx_pipe
+}// xxx_put
+}// example_assign_v2
+
+#endif

Added: sandbox/statistics/support/libs/assign/v2/example/put/range.cpp
==============================================================================
--- (empty file)
+++ sandbox/statistics/support/libs/assign/v2/example/put/range.cpp 2011-01-08 18:59:19 EST (Sat, 08 Jan 2011)
@@ -0,0 +1,41 @@
+//////////////////////////////////////////////////////////////////////////////
+// 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) //
+//////////////////////////////////////////////////////////////////////////////
+#include <queue>
+#include <vector>
+#include <boost/assign/v2/put/pipe/range.hpp>
+#include <libs/assign/v2/example/include.h>
+#include <libs/assign/v2/example/foo.h>
+#include <libs/assign/v2/example/constants.h>
+#include <libs/assign/v2/example/put/range.h>
+
+namespace example_assign_v2{
+namespace xxx_put{
+namespace xxx_range{
+
+ void run(std::ostream& os)
+ {
+ {
+ //[put_range_queue
+ std::vector<int> from( 3 );
+ from[0] = -1; from[1] = 0; from[2] = 1;
+ std::queue<int> to; // FIFO
+ BOOST_ASSERT(
+ (
+ to | as2::_put_range( from )
+ ).front() == -1
+ );
+ BOOST_ASSERT( to.back() == 1 );
+ //]
+ }
+ }
+
+}// xxx_range
+}// xxx_put
+}// example_assign_v2

Added: sandbox/statistics/support/libs/assign/v2/example/put/range.h
==============================================================================
--- (empty file)
+++ sandbox/statistics/support/libs/assign/v2/example/put/range.h 2011-01-08 18:59:19 EST (Sat, 08 Jan 2011)
@@ -0,0 +1,24 @@
+//////////////////////////////////////////////////////////////////////////////
+// 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_EXAMPLE_PUT_RANGE_ER_2010_H
+#define BOOST_ASSIGN_V2_EXAMPLE_PUT_RANGE_ER_2010_H
+#include <ostream>
+
+namespace example_assign_v2{
+namespace xxx_put{
+namespace xxx_range{
+
+ void run(std::ostream& os);
+
+}// xxx_range
+}// xxx_put
+}// example_assign_v2
+
+#endif

Added: sandbox/statistics/support/libs/assign/v2/example/ref.cpp
==============================================================================
--- (empty file)
+++ sandbox/statistics/support/libs/assign/v2/example/ref.cpp 2011-01-08 18:59:19 EST (Sat, 08 Jan 2011)
@@ -0,0 +1,21 @@
+//////////////////////////////////////////////////////////////////////////////
+// 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) //
+//////////////////////////////////////////////////////////////////////////////
+#include <libs/assign/v2/example/ref/array.h>
+#include <libs/assign/v2/example/ref.h>
+
+namespace example_assign_v2{
+namespace xxx_ref{
+
+ void run(std::ostream& os){
+ xxx_array::run( os );
+ }
+
+}// xxx_ref
+}// example_assign_v2

Added: sandbox/statistics/support/libs/assign/v2/example/ref.h
==============================================================================
--- (empty file)
+++ sandbox/statistics/support/libs/assign/v2/example/ref.h 2011-01-08 18:59:19 EST (Sat, 08 Jan 2011)
@@ -0,0 +1,22 @@
+//////////////////////////////////////////////////////////////////////////////
+// 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_EXAMPLE_REF_ER_2010_H
+#define BOOST_ASSIGN_V2_EXAMPLE_REF_ER_2010_H
+#include <ostream>
+
+namespace example_assign_v2{
+namespace xxx_ref{
+
+ void run(std::ostream& os);
+
+}// xxx_ref
+}// example_assign_v2
+
+#endif

Added: sandbox/statistics/support/libs/assign/v2/example/ref/array.cpp
==============================================================================
--- (empty file)
+++ sandbox/statistics/support/libs/assign/v2/example/ref/array.cpp 2011-01-08 18:59:19 EST (Sat, 08 Jan 2011)
@@ -0,0 +1,64 @@
+//////////////////////////////////////////////////////////////////////////////
+// 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) //
+//////////////////////////////////////////////////////////////////////////////
+#include <vector>
+
+#include <boost/assign/v2/ref/array/csv.hpp>
+#include <boost/assign/v2/ref/array/functor.hpp>
+#include <boost/range/algorithm/for_each.hpp>
+
+#include <libs/assign/v2/example/include.h>
+#include <libs/assign/v2/example/ref/array.h>
+
+namespace example_assign_v2{
+namespace xxx_ref{
+namespace xxx_array{
+
+ void run(std::ostream& os)
+ {
+
+ namespace as2 = boost::assign::v2;
+ namespace bl = boost::lambda;
+
+ os << "* xxx_ref_array " << std::endl;
+
+ {
+ //[csv_array_r
+ boost::for_each(
+ as2::ref::csv_array( "x", "y", "z" ),
+ os << bl::_1 << ' '
+ );
+ //outputs x y z
+ //]
+ //[csv_array_w
+ std::string x, y, z;
+ as2::ref::csv_array( x, y, z ).assign( "w" );
+ assert( y == "w" );
+ //]
+ //[csv_array_empty
+ as2::ref::csv_array<int const>( as2::_nil );
+ //]
+ }
+ {
+ //[array_r
+ boost::for_each(
+ as2::ref::array( -1 )( 0 )( 1 ),
+ os << bl::_1 << ' '
+ );
+ // outputs -1 0 1
+ //]
+ }
+
+ os << std::endl;
+ }
+
+}// xxx_array
+}// xxx_ref
+}// example_assign_v2
+

Added: sandbox/statistics/support/libs/assign/v2/example/ref/array.h
==============================================================================
--- (empty file)
+++ sandbox/statistics/support/libs/assign/v2/example/ref/array.h 2011-01-08 18:59:19 EST (Sat, 08 Jan 2011)
@@ -0,0 +1,24 @@
+//////////////////////////////////////////////////////////////////////////////
+// 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_EXAMPLE_REF_ARRAY_ER_2010_H
+#define BOOST_ASSIGN_V2_EXAMPLE_REF_ARRAY_ER_2010_H
+#include <ostream>
+
+namespace example_assign_v2{
+namespace xxx_ref{
+namespace xxx_array{
+
+ void run(std::ostream& os);
+
+}// xxx_array
+}// xxx_ref
+}// example_assign_v2
+
+#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