From 71ed2ba25bdfa4569699ca714bb137a6e7a0386a Mon Sep 17 00:00:00 2001 From: Michael Stevens Date: Sun, 5 Sep 2004 12:28:24 +0000 Subject: [PATCH] indirect_arrau use array_type for size_type etc [SVN r24924] --- include/boost/numeric/ublas/storage.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/boost/numeric/ublas/storage.hpp b/include/boost/numeric/ublas/storage.hpp index 0e1c8e63..edace945 100644 --- a/include/boost/numeric/ublas/storage.hpp +++ b/include/boost/numeric/ublas/storage.hpp @@ -18,7 +18,6 @@ #define BOOST_UBLAS_STORAGE_H #include -#include #ifdef BOOST_UBLAS_SHALLOW_ARRAY_ADAPTOR #include @@ -1389,8 +1388,8 @@ namespace boost { namespace numeric { namespace ublas { public: typedef A array_type; typedef const A const_array_type; - typedef std::size_t size_type; - typedef std::ptrdiff_t difference_type; + typedef typename A::size_type size_type; + typedef typename A::difference_type difference_type; typedef typename A::value_type value_type; typedef typename A::const_reference const_reference; typedef typename A::reference reference;