Sadly it doesn't, boost and c++ 11 smart ptrs seem to, but auto_ptr doesn't.