Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56405 - sandbox/statistics/matrix_view/libs/matrix_view/example
From: erwann.rogard_at_[hidden]
Date: 2009-09-26 20:08:58


Author: e_r
Date: 2009-09-26 20:08:57 EDT (Sat, 26 Sep 2009)
New Revision: 56405
URL: http://svn.boost.org/trac/boost/changeset/56405

Log:
m
Text files modified:
   sandbox/statistics/matrix_view/libs/matrix_view/example/row_iterator.cpp | 19 ++++++++++++-------
   1 files changed, 12 insertions(+), 7 deletions(-)

Modified: sandbox/statistics/matrix_view/libs/matrix_view/example/row_iterator.cpp
==============================================================================
--- sandbox/statistics/matrix_view/libs/matrix_view/example/row_iterator.cpp (original)
+++ sandbox/statistics/matrix_view/libs/matrix_view/example/row_iterator.cpp 2009-09-26 20:08:57 EDT (Sat, 26 Sep 2009)
@@ -1,11 +1,13 @@
 ///////////////////////////////////////////////////////////////////////////////
-// matrix_view::example::row_iterator.cpp //
+// view::example::row_iterator.cpp //
 // //
 // (C) Copyright 2009 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 <list>
 #include <algorithm>
@@ -29,8 +31,8 @@
 
     {
         typedef range_iterator<vec_>::type it_;
- typedef matrix_view::row_iterator<it_> row_it_;
- typedef matrix_view::row_iterator<it_> row_it_;
+ typedef view::row_iterator<it_> row_it_;
+ typedef view::row_iterator<it_> row_it_;
 
         vec_ vec;
         vec_ vecc;
@@ -43,7 +45,7 @@
         it_ base_e = boost::end(vec);
         row_it_ b(base_b,stride);
         row_it_ i = b;
- row_it_ e = matrix_view::make_end_row_iterator(
+ row_it_ e = view::make_end_row_iterator(
             base_b,base_e,stride
         );
         while(i<e){
@@ -62,8 +64,8 @@
 
     {
         typedef vec_::const_iterator it_;
- typedef matrix_view::row_iterator<it_> row_it_;
- typedef matrix_view::row_iterator<it_> row_it_;
+ typedef view::row_iterator<it_> row_it_;
+ typedef view::row_iterator<it_> row_it_;
 
         vec_ vec,vec_a;
         {
@@ -74,8 +76,9 @@
         it_ base_e = boost::end(vec);
         row_it_ b(base_b,stride);
         out << "std::distance(b,e) : ";
+
         for(it_ base_i = base_b; base_i<base_e; base_i++){
- row_it_ e = matrix_view::make_end_row_iterator(
+ row_it_ e = view::make_end_row_iterator(
                 base_b,base_i,stride
             );
             out << std::distance(b,e) << ' ';
@@ -85,3 +88,5 @@
 
     out << "<-" << 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