diff --git a/include/boost/numeric/ublas/matrix_proxy.hpp b/include/boost/numeric/ublas/matrix_proxy.hpp index ba32a811..f98dcab2 100644 --- a/include/boost/numeric/ublas/matrix_proxy.hpp +++ b/include/boost/numeric/ublas/matrix_proxy.hpp @@ -1519,7 +1519,9 @@ namespace boost { namespace numeric { namespace ublas { return reverse_iterator (begin ()); } +#ifndef BOOST_UBLAS_NESTED_CLASS_DR45 private: +#endif matrix_closure_type data_; range r1_; range r2_; @@ -2018,7 +2020,9 @@ namespace boost { namespace numeric { namespace ublas { return reverse_iterator (begin ()); } +#ifndef BOOST_UBLAS_NESTED_CLASS_DR45 private: +#endif matrix_closure_type data_; slice s1_; slice s2_; @@ -2518,7 +2522,9 @@ namespace boost { namespace numeric { namespace ublas { return reverse_iterator (begin ()); } +#ifndef BOOST_UBLAS_NESTED_CLASS_DR45 private: +#endif matrix_closure_type data_; indirect_array_type ia1_; indirect_array_type ia2_; @@ -4356,7 +4362,9 @@ namespace boost { namespace numeric { namespace ublas { return reverse_iterator2 (begin2 ()); } +#ifndef BOOST_UBLAS_NESTED_CLASS_DR45 private: +#endif matrix_closure_type data_; slice s1_; slice s2_; @@ -5294,7 +5302,9 @@ namespace boost { namespace numeric { namespace ublas { return reverse_iterator2 (begin2 ()); } +#ifndef BOOST_UBLAS_NESTED_CLASS_DR45 private: +#endif matrix_closure_type data_; indirect_array_type ia1_; indirect_array_type ia2_; diff --git a/include/boost/numeric/ublas/vector_proxy.hpp b/include/boost/numeric/ublas/vector_proxy.hpp index c5cea892..a6c390f6 100644 --- a/include/boost/numeric/ublas/vector_proxy.hpp +++ b/include/boost/numeric/ublas/vector_proxy.hpp @@ -1053,8 +1053,7 @@ return true; return reverse_iterator (begin ()); } -#if defined(BOOST_MSVC) && (BOOST_MSVC < 1300) -// VC++ 6.0 cannot access data_ from iterator +#ifndef BOOST_UBLAS_NESTED_CLASS_DR45 private: #endif vector_closure_type data_; @@ -1598,8 +1597,7 @@ return true; return reverse_iterator (begin ()); } -#if defined(BOOST_MSVC) && (BOOST_MSVC < 1300) -// VC++ 6.0 cannot access data_ from iterator +#ifndef BOOST_UBLAS_NESTED_CLASS_DR45 private: #endif vector_closure_type data_;