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 ( ) .

関連項目

管理対象オブジェクトへのポインタを返す
(公開メンバ関数)