Boost logo

Ublas :

From: Maik Beckmann (maikbeckmann_at_[hidden])
Date: 2008-01-24 08:59:31


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

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer