
20 Jul
2006
20 Jul
'06
3:38 p.m.
On 7/20/06, Steven Burns <royalstream@hotmail.com> 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