From e11fc19001ac5873bb6f2c5573cc5f63efb2bcbc Mon Sep 17 00:00:00 2001 From: Michael Stevens Date: Thu, 7 Oct 2004 04:31:19 +0000 Subject: [PATCH] Generic accessor, VC6 has template problems remove for all non PTS compilers [SVN r25601] --- include/boost/numeric/ublas/definitions.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/numeric/ublas/definitions.hpp b/include/boost/numeric/ublas/definitions.hpp index 66cb9699..733ef745 100644 --- a/include/boost/numeric/ublas/definitions.hpp +++ b/include/boost/numeric/ublas/definitions.hpp @@ -91,6 +91,7 @@ namespace boost { namespace numeric { namespace ublas { // Dimension accessors namespace dimension { +#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION // Generic accessors template struct dimension_properties {}; @@ -166,6 +167,7 @@ namespace boost { namespace numeric { namespace ublas { typedef typename I::container_type container_type; return dimension_properties::template index (i); } +#endif // Named accessors - just syntactic sugar template