
2 Mar
2004
2 Mar
'04
9:41 a.m.
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