cpp/memory/auto ptr/auto ptr

Constructs the from a pointer that refers to the object to manage.

@1@ Constructs the with pointer.

@2@ Constructs the with the pointer held in. is called to acquire the ownership of the object.

@3@ Same as (2). must be implicitly convertible to.

@4@ Constructs the with the pointer held in the  instance referred to by. is called for the that  holds to acquire the ownership of the object.

@@ is an implementation-defined type that holds a reference to. std is implicitly convertible to and assignable from this type. The implementation is allowed to provide the template with a different name or implement equivalent functionality in other ways.