Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56396 - in sandbox/statistics/view: boost/view libs/view/src
From: erwann.rogard_at_[hidden]
Date: 2009-09-26 19:48:23


Author: e_r
Date: 2009-09-26 19:48:23 EDT (Sat, 26 Sep 2009)
New Revision: 56396
URL: http://svn.boost.org/trac/boost/changeset/56396

Log:
m
Text files modified:
   sandbox/statistics/view/boost/view/columns_iterator.hpp | 7 ++++---
   sandbox/statistics/view/boost/view/rows_iterator.hpp | 7 ++++---
   sandbox/statistics/view/boost/view/step_count_down_iterator.hpp | 1 +
   sandbox/statistics/view/libs/view/src/main.cpp | 2 ++
   4 files changed, 11 insertions(+), 6 deletions(-)

Modified: sandbox/statistics/view/boost/view/columns_iterator.hpp
==============================================================================
--- sandbox/statistics/view/boost/view/columns_iterator.hpp (original)
+++ sandbox/statistics/view/boost/view/columns_iterator.hpp 2009-09-26 19:48:23 EDT (Sat, 26 Sep 2009)
@@ -20,9 +20,10 @@
 namespace view{
 namespace detail{
 
-// *rows_iterator returns an iterator range whose elements are a row of a
-// row-major matrix view of a sequence traversed by an iterator of type I.
-// The step is the number of elements per row.
+// I is an iterator to some sequence
+//
+// *columns_iterator returns a range representing a columns in
+// row-major matrix view. Each row is of length step
 template< class I
         , class V = use_default
         , class C = use_default

Modified: sandbox/statistics/view/boost/view/rows_iterator.hpp
==============================================================================
--- sandbox/statistics/view/boost/view/rows_iterator.hpp (original)
+++ sandbox/statistics/view/boost/view/rows_iterator.hpp 2009-09-26 19:48:23 EDT (Sat, 26 Sep 2009)
@@ -19,9 +19,10 @@
 namespace view{
 namespace detail{
 
-// *rows_iterator returns an iterator range whose elements are a column of a
-// row-major matrix view of a sequence traversed by an iterator of type I.
-// The step is the number of elements per row.
+// I is an iterator type to some sequence
+//
+// *rows_iterator returns a range representing a row in a
+// row-major matrix view. Each row is of length step
 template< class I
         , class V = use_default
         , class C = use_default

Modified: sandbox/statistics/view/boost/view/step_count_down_iterator.hpp
==============================================================================
--- sandbox/statistics/view/boost/view/step_count_down_iterator.hpp (original)
+++ sandbox/statistics/view/boost/view/step_count_down_iterator.hpp 2009-09-26 19:48:23 EDT (Sat, 26 Sep 2009)
@@ -97,6 +97,7 @@
 private:
     friend class iterator_core_access;
 
+ // TODO
     /// If the step if negative behaves like a reverse_iterator
     reference dereference() const
     {

Modified: sandbox/statistics/view/libs/view/src/main.cpp
==============================================================================
--- sandbox/statistics/view/libs/view/src/main.cpp (original)
+++ sandbox/statistics/view/libs/view/src/main.cpp 2009-09-26 19:48:23 EDT (Sat, 26 Sep 2009)
@@ -11,6 +11,8 @@
 #include <libs/view/example/columns_iterator.h>
 #include <libs/view/example/rows_iterator.h>
 
+#include <boost/view/step_iterator.hpp>
+
 int main(){
 
     example_step_iterator(std::cout);


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