Namespaces
Variants

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

From cppreference.net
constexpr element_type & operator * ( ) ;
(1) (ライブラリ基盤仕様 TS v2)
constexpr const element_type & operator * ( ) const ;
(2) (ライブラリ基盤仕様 TS v2)
constexpr element_type * operator - > ( ) ;
(3) (ライブラリ基盤仕様 TS v2)
constexpr const element_type * operator - > ( ) const ;
(4) (ライブラリ基盤仕様 TS v2)

このポインタライクなオブジェクトが指すオブジェクトへのアクセスを提供します。 * this がラップするオブジェクトです。

これらの関数の動作は、 get ( ) == nullptr の場合、未定義です。

目次

パラメータ

(なし)

戻り値

1,2) ラップされたポインタライクオブジェクトによって指されるオブジェクト、すなわち * get ( )
3,4) ラップされたポインタライクオブジェクトが指すオブジェクトへのポインタ、すなわち get ( )

関連項目

ラップされたポインタが指すオブジェクトへのポインタを返す
(公開メンバ関数)