Namespaces
Variants

std::auto_ptr<T>:: release

From cppreference.net
Memory management library
( exposition only* )
Allocators
Uninitialized memory algorithms
Constrained uninitialized memory algorithms
Memory resources
Uninitialized storage (until C++20)
( until C++20* )
( until C++20* )
( until C++20* )

Garbage collector support (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
T * release ( ) throw ( ) ;
(obsolète en C++11)
(supprimé en C++17)

Libère le pointeur détenu. Après l'appel * this contient le pointeur nul.

Paramètres

(aucun)

Valeur de retour

get ( ) .

Voir aussi

remplace l'objet géré
(fonction membre publique)