Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2004-03-02 04:41:24

> You can always use a shared_ptr to a vector if you need to be able to
> query the size.

But why could the constructor not be changed from

      explicit shared_array(T * p = 0);

to something like

      shared_array( T * p, size_t size );

? I mean, in what situations do we not now the size of the array?



Boost list run by bdawes at, gregod at, cpdaniel at, john at