|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r56401 - sandbox/statistics/matrix_view/boost/matrix_view/algorithm
From: erwann.rogard_at_[hidden]
Date: 2009-09-26 20:05:28
Author: e_r
Date: 2009-09-26 20:05:28 EDT (Sat, 26 Sep 2009)
New Revision: 56401
URL: http://svn.boost.org/trac/boost/changeset/56401
Log:
m
Text files modified:
sandbox/statistics/matrix_view/boost/matrix_view/algorithm/transform_column.hpp | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
Modified: sandbox/statistics/matrix_view/boost/matrix_view/algorithm/transform_column.hpp
==============================================================================
--- sandbox/statistics/matrix_view/boost/matrix_view/algorithm/transform_column.hpp (original)
+++ sandbox/statistics/matrix_view/boost/matrix_view/algorithm/transform_column.hpp 2009-09-26 20:05:28 EDT (Sat, 26 Sep 2009)
@@ -1,12 +1,12 @@
///////////////////////////////////////////////////////////////////////////////
-// matrix_view::algorithm::transform_column.hpp //
+// view::algorithm::transform_column.hpp //
// //
// Copyright 2009 Erwann Rogard. Distributed under 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_MATRIX_VIEW_ALGORITHM_TRANSFORM_COLUMN_HPP_ER_2009
-#define BOOST_MATRIX_VIEW_ALGORITHM_TRANSFORM_COLUMN_HPP_ER_2009
+#ifndef BOOST_VIEW_ALGORITHM_TRANSFORM_COLUMN_HPP_ER_2009
+#define BOOST_VIEW_ALGORITHM_TRANSFORM_COLUMN_HPP_ER_2009
#include <iterator>
#include <boost/utility.hpp>
#include <boost/lambda/lambda.hpp>
@@ -14,7 +14,7 @@
#include <boost/iterator/iterator_concepts.hpp>
namespace boost{
-namespace matrix_view{
+namespace view{
// Visits the subsequence defined by a stride and an offset, and transforms
// it by f.
@@ -75,7 +75,8 @@
){
BOOST_CONCEPT_ASSERT((boost_concepts::IncrementableIterator<It>));
BOOST_CONCEPT_ASSERT((boost_concepts::IncrementableIterator<ItO>));
- BOOST_CONCEPT_ASSERT((boost_concepts::WritableIterator<It>));
+ // TODO allow Writable or back_inserter
+ // BOOST_CONCEPT_ASSERT((boost_concepts::WritableIterator<ItO>));
typedef typename iterator_difference<It>::type diff_;
diff_ d = std::distance( b, e );
@@ -106,7 +107,8 @@
){
BOOST_CONCEPT_ASSERT((boost_concepts::IncrementableIterator<It>));
BOOST_CONCEPT_ASSERT((boost_concepts::IncrementableIterator<ItO>));
- BOOST_CONCEPT_ASSERT((boost_concepts::WritableIterator<It>));
+ // TODO allow std::back_inserter
+ // BOOST_CONCEPT_ASSERT((boost_concepts::WritableIterator<It>));
typedef typename iterator_difference<It>::type diff_;
i_o = boost::next( i_o, offset );
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