$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Boris (boris_at_[hidden])
Date: 2005-10-02 13:27:40
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