Boost logo

Ublas :

From: Karl Meerbergen (Karl.Meerbergen_at_[hidden])
Date: 2008-01-24 10:24:32


Hi Maik,

By default, an array has size 0.

Best,

Karl

Maik Beckmann wrote:

>Hi List,
>
>The default constructor of
> template<class T, std::size_t N, class ALLOC>
> class bounded_array;
>initializes size_ with 0 rather than N
> bounded_array ():
> size_ (0) /*, data_ ()*/
> {}
>
>Are there any reason why it's not
> bounded_array ():
> size_ (N) /*, data_ ()*/
> {}
>?
>
>Best,
> -- Maik
>
>