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) (C++11에서 사용 중단됨)
(C++17에서 제거됨)
T * operator - > ( ) const throw ( ) ;
(2) (C++11에서 사용 중단됨)
(C++17에서 제거됨)

관리되는 객체에 대한 포인터를 역참조합니다. 첫 번째 버전은 get ( ) ! = 0 을 요구합니다.

매개변수

(없음)

반환값

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

참고 항목

관리되는 객체에 대한 포인터를 반환합니다
(public member function)