scoped_ptr and unique_ptr cannot be used in STL containers