diff --git a/include/boost/numeric/ublas/vector.hpp b/include/boost/numeric/ublas/vector.hpp index 93a0d45e..25475750 100644 --- a/include/boost/numeric/ublas/vector.hpp +++ b/include/boost/numeric/ublas/vector.hpp @@ -32,7 +32,8 @@ namespace boost { namespace numeric { namespace ublas { // Resizing helper. Allow 'preserve' parameter to be used where possible. -#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION +#ifdef REMOVED +//#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION // ISSUE Overloaded free function templates fail on some compilers! // Thanks to Karl Meerbergen for the functor workaround which we use by default template @@ -61,7 +62,10 @@ namespace boost { namespace numeric { namespace ublas { void resize (T& a, typename T::size_type size, bool preserve) { a.resize (size, preserve); } - // Specialise for std::vector + /* ISSUE Specialise for std::vector + * however compilers without template partial specialization (MSVC-6/7) + * also think this is bjam uBLAS_test ambiguous when std::vector is used! + */ template BOOST_UBLAS_INLINE void resize (std::vector &a, typename std::vector::size_type size, bool /* preserve */) {