名前空間
変種
操作

std::experimental::propagate_const<T>:: get

From cppreference.com
 
 
 
 
 
constexpr element_type* get();
(Library Fundamentals TS v2)
constexpr const element_type* get() const;
(Library Fundamentals TS v2)

ラップされたポインターライクオブジェクトt_が指すオブジェクトへのポインターを返します。

[編集] パラメータ

(なし)

[編集] 戻り値

Tがオブジェクトポインター型の場合、t_を返します。それ以外の場合、t_.get()を返します。


[編集]

English 日本語 中文(简体) 中文(繁體)