--- boost/numeric/ublas/storage.hpp 2015-03-28 05:33:28.000000000 -0500 +++ boost/numeric/ublas/storage.hpp 2015-04-21 15:55:49.000000000 -0500 @@ -777,8 +777,8 @@ BOOST_UBLAS_INLINE shallow_array_adaptor (size_type size, pointer data): size_ (size), own_ (false), data_ (data, leaker ()) {} - BOOST_UBLAS_INLINE template + BOOST_UBLAS_INLINE shallow_array_adaptor (T (&data)[N]): size_ (N), own_ (false), data_ (data, leaker ()) {} @@ -833,13 +833,13 @@ void resize (size_type size, pointer data, value_type init) { resize_internal (size, data, init, true); } - BOOST_UBLAS_INLINE template + BOOST_UBLAS_INLINE void resize (T (&data)[N]) { resize_internal (N, data, value_type (), false); } - BOOST_UBLAS_INLINE template + BOOST_UBLAS_INLINE void resize (T (&data)[N], value_type init) { resize_internal (N, data, init, true); }