std::experimental::propagate_const<T>::operator*, std::experimental::propagate_const<T>::operator->
From cppreference.com
< cpp | experimental | propagate const
| constexpr element_type& operator*(); |
(1) | (Library Fundamentals TS v2) |
| constexpr const element_type& operator*() const; |
(2) | (Library Fundamentals TS v2) |
| constexpr element_type* operator->(); |
(3) | (Library Fundamentals TS v2) |
| constexpr const element_type* operator->() const; |
(4) | (Library Fundamentals TS v2) |
ラップしているポインタライクオブジェクトが指すオブジェクトにアクセスを提供します。
これらの関数の動作は、get() == nullptr の場合、未定義です。
目次 |
[編集] パラメータ
(なし)
[編集] 戻り値
1,2) ラップされているポインタライクオブジェクトが指すオブジェクト、すなわち *get()。
3,4) ラップされているポインタライクオブジェクトが指すオブジェクトへのポインタ、すなわち get()。
[編集] 例
| このセクションは未完成です 理由: 例がありません |
[編集] 関連項目
| ラップされたポインタが指すオブジェクトへのポインタを返す (公開メンバ関数) |