
16 Oct
2008
16 Oct
'08
2:14 p.m.
On Thu, Oct 16, 2008 at 09:29, Robert Jones <robertgbjones@gmail.com> wrote:
* why boost::array<unsigned, 1> rather than boost::array<unsigned, 0>? Obviously an array of zero elements is an odd beast, but it seems to work, with begin() equal to end() as you'd expect.
As I recall, a zero-length array did not used to work, but TR1 allowed it, so the boost version (relatively recently) added the necessary specialization. I'm fairly sure that multi_array was written before this change.