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

[SVN r34162]
This commit is contained in:
Alisdair Meredith
2006-06-04 12:10:17 +00:00
parent 276cd991f3
commit 4c5212f5e4

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>