std::auto_ptr<T>:: operator*, std::auto_ptr<T>:: operator->
From cppreference.net
C++
Memory management library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::auto_ptr
| Member functions | ||||
|
auto_ptr::operator*
auto_ptr::operator->
|
||||
|
T
&
operator
*
(
)
const
throw
(
)
;
|
(1) |
(C++11で非推奨)
(C++17で削除) |
|
T
*
operator
-
>
(
)
const
throw
(
)
;
|
(2) |
(C++11で非推奨)
(C++17で削除) |
管理対象オブジェクトへのポインタをデリファレンスします。最初のバージョンは get ( ) ! = 0 を必要とします。
パラメータ
(なし)
戻り値
1)
*
get
(
)
.
2)
get
(
)
.
関連項目
|
管理対象オブジェクトへのポインタを返す
(公開メンバ関数) |