Boost logo

Boost :

From: me22 (me22.ca_at_[hidden])
Date: 2006-07-20 11:38:07


On 7/20/06, Steven Burns <royalstream_at_[hidden]> wrote:
> Indeed I did a partial spec. when the size is 0 (size_t cannot be -1)
> Losing the aggregate behavior was not an option so I only have constructors
> on this specialization.
>
In TR1, iirc, array<T,0> is legal. And size_t can of course not be
-1, but because 0 is a valid choice for the aggregate version I
figured integer_traits::<size_t>::cmax would be the best choice for
the specialisation.

~ Scott McMurray


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk