std::auto_ptr<T>::operator*, std::auto_ptr<T>::operator->
提供: cppreference.com
<tbody>
</tbody>
T& operator*() const throw(); |
(1) | (C++11で非推奨) (C++17で削除) |
T* operator->() const throw(); |
(2) | (C++11で非推奨) (C++17で削除) |
管理対象オブジェクトを指すポインタを逆参照します。 1つめのバージョンは get() != 0 を要求します。
引数
(なし)
戻り値
1)
*get()。2)
get()。関連項目
| 管理対象オブジェクトへのポインタを返します (パブリックメンバ関数) |