Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52162 - branches/release/boost/numeric/ublas/detail
From: guwi17_at_[hidden]
Date: 2009-04-03 16:15:46


Author: guwi17
Date: 2009-04-03 16:15:44 EDT (Fri, 03 Apr 2009)
New Revision: 52162
URL: http://svn.boost.org/trac/boost/changeset/52162

Log:
ublas/detail/concepts.hpp: added conditional to enable/disable test of experimental vector_view

Text files modified:
   branches/release/boost/numeric/ublas/detail/concepts.hpp | 5 +++--
   1 files changed, 3 insertions(+), 2 deletions(-)

Modified: branches/release/boost/numeric/ublas/detail/concepts.hpp
==============================================================================
--- branches/release/boost/numeric/ublas/detail/concepts.hpp (original)
+++ branches/release/boost/numeric/ublas/detail/concepts.hpp 2009-04-03 16:15:44 EDT (Fri, 03 Apr 2009)
@@ -969,7 +969,8 @@
         }
 #endif
 
- // read only vectors
+#if defined (VECTOR_VIEW)
+ // read only vectors
         {
            typedef vector_view<T> container_model;
            function_requires< RandomAccessContainerConcept<container_model> >();
@@ -977,7 +978,7 @@
            function_requires< IndexedRandomAccess1DIteratorConcept<container_model::const_iterator> >();
            function_requires< IndexedRandomAccess1DIteratorConcept<container_model::const_reverse_iterator> >();
         }
-
+#endif
 
         // Vector
 #if defined (INTERNAL_VECTOR) || defined (INTERNAL_VECTOR_DENSE)


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