From 3c57cc13449a4623b3cdfdb16fd8cd7d126d2e9d Mon Sep 17 00:00:00 2001 From: Michael Stevens Date: Sat, 14 Aug 2004 18:40:18 +0000 Subject: [PATCH] VC6 workaround for private data_ [SVN r24474] --- include/boost/numeric/ublas/vector_proxy.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/boost/numeric/ublas/vector_proxy.hpp b/include/boost/numeric/ublas/vector_proxy.hpp index fc4417a0..e83d8ffd 100644 --- a/include/boost/numeric/ublas/vector_proxy.hpp +++ b/include/boost/numeric/ublas/vector_proxy.hpp @@ -1053,7 +1053,10 @@ return true; return reverse_iterator (begin ()); } +#if defined(BOOST_MSVC) && (BOOST_MSVC <= 1300) +// VC++ 6.0 cannot access data_ from iterator private: +#endif vector_closure_type data_; slice s_; static vector_type nil_; @@ -1595,7 +1598,10 @@ return true; return reverse_iterator (begin ()); } +#if defined(BOOST_MSVC) && (BOOST_MSVC <= 1300) +// VC++ 6.0 cannot access data_ from iterator private: +#endif vector_closure_type data_; indirect_array_type ia_; static vector_type nil_;