|
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?
br
Thorsten
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk