2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-20 03:02:13 +00:00

Generic accessor, VC6 has template problems remove for all non PTS compilers

[SVN r25601]
This commit is contained in:
Michael Stevens
2004-10-07 04:31:19 +00:00
parent 64b5ac5827
commit e11fc19001

View File

@@ -91,6 +91,7 @@ namespace boost { namespace numeric { namespace ublas {
// Dimension accessors
namespace dimension {
#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
// Generic accessors
template<unsigned dimension>
struct dimension_properties {};
@@ -166,6 +167,7 @@ namespace boost { namespace numeric { namespace ublas {
typedef typename I::container_type container_type;
return dimension_properties<dimension>::template index<container_type> (i);
}
#endif
// Named accessors - just syntactic sugar
template<class V>