Remove size zero support for old compilers that do not support partial template specialization

[SVN r34161]
This commit is contained in:
Alisdair Meredith
2006-06-04 11:01:59 +00:00
parent 8f10fdf27e
commit 7da1c4b310

View File

@ -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<class T, std::size_t N>