Namespaces
Variants

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

From cppreference.net
constexpr element_type & operator * ( ) ;
(1) (라이브러리 fundamentals TS v2)
constexpr const element_type & operator * ( ) const ;
(2) (라이브러리 fundamentals TS v2)
constexpr element_type * operator - > ( ) ;
(3) (라이브러리 fundamentals TS v2)
constexpr const element_type * operator - > ( ) const ;
(4) (라이브러리 fundamentals TS v2)

포인터와 유사한 객체가 가리키는 객체에 대한 접근을 제공합니다. * this 가 감싸는 객체입니다.

이 함수들의 동작은 get ( ) == nullptr 인 경우 정의되지 않습니다.

목차

매개변수

(없음)

반환값

1,2) 래핑된 포인터와 유사한 객체가 가리키는 객체, 즉 * get ( ) .
3,4) 래핑된 포인터와 유사한 객체가 가리키는 객체에 대한 포인터, 즉 get ( ) .

예제

참고 항목

래핑된 포인터가 가리키는 객체에 대한 포인터를 반환합니다
(public member function)