Boost logo

Boost :

From: Stephan Tolksdorf (andorxor_at_[hidden])
Date: 2006-09-05 13:09:12


>> Is it safe to use shared_ptr's with arrays if one supplies an array
>> deleter as a constructor argument?
>
> How about a shared_ptr< vector<int> > or something?

I'd like to avoid the vector solution and am still curious whether the
shared_ptr + array-deleter is safe...

Stephan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk