
On Mar 10, 2006, at 2:25 AM, Ralf W. Grosse-Kunstleve wrote:
Point your vendor at:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/ n1856.html#Addition%20-%20Class%20template%20unqiue_ptr
and tell them you want it sooner rather than later.
Thanks for the link! unique_ptr looks like the best general solution. Problem is, I needed it yesterday (literally) and in fact I would have loved to use it many times before.
If auto_ptr is going to be deprecated, of course auto_array shouldn't be in boost. How about this tiny patch then to keep poor old scientific application developers like me going until the optimal solution is universally available?
Another option is here: http://www.kangaroologic.com/move_ptr/ static_move_ptr is roughly a C++03 emulation of the proposed unique_ptr. -Howard