diff --git a/include/boost/array.hpp b/include/boost/array.hpp index 841ed76..102664e 100644 --- a/include/boost/array.hpp +++ b/include/boost/array.hpp @@ -162,6 +162,7 @@ namespace boost { }; +#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) template< class T > class array< T, 0 > { @@ -273,8 +274,8 @@ namespace boost { static void failed_rangecheck () { throw std::range_error("attempt to access element of an empty array"); } - }; +#endif // comparisons template