Partial template specialization for boost::array<T, 0> missing in CVS

2 Oct
2005
2 Oct
'05
6:27 p.m.
There is a partial template specialization at http://www.josuttis.com/cppcode/array.hpp for boost::array with 0 elements. However the template specialization is not in the CVS - any reason? I couldn't compile the template specialization however out of the box with VC++ 7.1: - I had to add #include <cassert>. - I had to get rid of makes_no_sense() and copy the function body into the functions which call makes_no_sense(). - I added a no-op void assign(const T& value) to boost::array<T,0> as this function is part of the interface of boost::array<T,N>. It would be nice if the template specialization is added to Boost.Array. Boris
7193
Age (days ago)
7193
Last active (days ago)
0 comments
1 participants
participants (1)
-
Boris