Boost logo

Glas :

[glas] unallocated fill

From: Neal Becker (ndbecker2_at_[hidden])
Date: 2005-09-30 13:22:26


Suggest adding to dense_vector.hpp:
        dense_vector(size_type size, value_type const& init)
          : size_( size )
          {
            begin_ = alloc_.allocate( size ) ;
           std::uninitialized_fill (begin(), end(), init);

          }