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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user