Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59446 - sandbox/statistics/detail/assign/libs/assign/example
From: erwann.rogard_at_[hidden]
Date: 2010-02-03 15:00:00


Author: e_r
Date: 2010-02-03 15:00:00 EST (Wed, 03 Feb 2010)
New Revision: 59446
URL: http://svn.boost.org/trac/boost/changeset/59446

Log:
m
Text files modified:
   sandbox/statistics/detail/assign/libs/assign/example/cref_list_of2.cpp | 10 +++++++++-
   sandbox/statistics/detail/assign/libs/assign/example/cref_list_of2.h | 2 +-
   2 files changed, 10 insertions(+), 2 deletions(-)

Modified: sandbox/statistics/detail/assign/libs/assign/example/cref_list_of2.cpp
==============================================================================
--- sandbox/statistics/detail/assign/libs/assign/example/cref_list_of2.cpp (original)
+++ sandbox/statistics/detail/assign/libs/assign/example/cref_list_of2.cpp 2010-02-03 15:00:00 EST (Wed, 03 Feb 2010)
@@ -1,3 +1,11 @@
+//////////////////////////////////////////////////////////////////////////////
+// example::list_of2.cpp //
+// //
+// (C) Copyright 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 <iostream>
 #include <vector>
 #include <boost/assign/list_of.hpp>
@@ -20,7 +28,7 @@
         BOOST_ASSERT(ints[1] == b);
         BOOST_ASSERT(ints[2] == 3);
     ints.clear();
- ints = cref_list_of2(a)(b)(3); //(b);
+ ints = cref_list_of2(a)(b)(3);
         BOOST_ASSERT(ints[0] == a);
         BOOST_ASSERT(ints[1] == b);
         BOOST_ASSERT(ints[2] == 3);

Modified: sandbox/statistics/detail/assign/libs/assign/example/cref_list_of2.h
==============================================================================
--- sandbox/statistics/detail/assign/libs/assign/example/cref_list_of2.h (original)
+++ sandbox/statistics/detail/assign/libs/assign/example/cref_list_of2.h 2010-02-03 15:00:00 EST (Wed, 03 Feb 2010)
@@ -1,5 +1,5 @@
 //////////////////////////////////////////////////////////////////////////////
-// example::list_of2.cpp //
+// example::list_of2.h //
 // //
 // (C) Copyright 2010 Erwann Rogard //
 // Use, modification and distribution are subject to the //


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