Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62907 - sandbox/statistics/support/libs/assign/example
From: erwann.rogard_at_[hidden]
Date: 2010-06-13 10:21:56


Author: e_r
Date: 2010-06-13 10:21:56 EDT (Sun, 13 Jun 2010)
New Revision: 62907
URL: http://svn.boost.org/trac/boost/changeset/62907

Log:
m
Text files modified:
   sandbox/statistics/support/libs/assign/example/range.cpp | 16 ++++++++++++++++
   1 files changed, 16 insertions(+), 0 deletions(-)

Modified: sandbox/statistics/support/libs/assign/example/range.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/example/range.cpp (original)
+++ sandbox/statistics/support/libs/assign/example/range.cpp 2010-06-13 10:21:56 EDT (Sun, 13 Jun 2010)
@@ -65,6 +65,22 @@
 
 
 }
+{
+
+
+ boost::array<int, 2> a = { 1, 2 };
+ boost::array<int, 2> b = { 3, 4 };
+ boost::array<int, 4> c = a && b;
+
+ BOOST_ASSERT(c[0]==1);
+ BOOST_ASSERT(c[1]==2);
+ BOOST_ASSERT(c[2]==3);
+ BOOST_ASSERT(c[3]==4);
+ BOOST_ASSERT(c.size() == 4);
+
+ os << "array : OK" << std::endl;
+}
+
         os << "<- " << std::endl;
     
 }


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