Namespaces
Variants

std::auto_ptr<T>:: operator*, std::auto_ptr<T>:: operator->

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 & operator * ( ) const throw ( ) ;
(1) (obsolète en C++11)
(supprimé en C++17)
T * operator - > ( ) const throw ( ) ;
(2) (obsolète en C++11)
(supprimé en C++17)

Déréférence un pointeur vers l'objet managé. La première version nécessite get ( ) ! = 0 .

Paramètres

(aucun)

Valeur de retour

1) * get ( ) .
2) get ( ) .

Voir aussi

retourne un pointeur vers l'objet géré
(fonction membre publique)