I often need to deal with dynamically-allocated arrays in C++, and hence rely on Boost for scoped_array, shared_array, and the like. After reading through Stroustrup\'s C++1
So far as vectors are intended as array wrappers, what if you use any suitable smart pointer with the vector as inner object?