名前空間
変種
操作

std::experimental::propagate_const<T>::operator*, std::experimental::propagate_const<T>::operator->

From cppreference.com
 
 
 
 
 
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()

[編集]

[編集] 関連項目

ラップされたポインタが指すオブジェクトへのポインタを返す
(公開メンバ関数) [編集]
English 日本語 中文(简体) 中文(繁體)