Namespaces
Variants

operator==,!=,<,<=,>,>= (std::experimental::propagate_const)

From cppreference.net
template < class T >
constexpr bool operator == ( const propagate_const < T > & pt, nullptr_t ) ;
(1) (라이브러리 fundamentals TS v2)
template < class T >
constexpr bool operator == ( nullptr_t, const propagate_const < T > & pt ) ;
(2) (라이브러리 fundamentals TS v2)
template < class T >
constexpr bool operator ! = ( const propagate_const < T > & pt, nullptr_t ) ;
(3) (라이브러리 fundamentals TS v2)
template < class T >
constexpr bool operator ! = ( nullptr_t, const propagate_const < T > & pt ) ;
(4) (라이브러리 fundamentals TS v2)
template < class T, class U >
constexpr bool operator == ( const propagate_const < T > & pt, const propagate_const < U > & pu ) ;
(5) (라이브러리 fundamentals TS v2)
template < class T, class U >
constexpr bool operator ! = ( const propagate_const < T > & pt, const propagate_const < U > & pu ) ;
(6) (라이브러리 펀더멘털 TS v2)
template < class T, class U >
constexpr bool operator < ( const propagate_const < T > & pt, const propagate_const < U > & pu ) ;
(7) (라이브러리 fundamentals TS v2)
template < class T, class U >
constexpr bool operator > ( const propagate_const < T > & pt, const propagate_const < U > & pu ) ;
(8) (라이브러리 fundamentals TS v2)
template < class T, class U >
constexpr bool operator <= ( const propagate_const < T > & pt, const propagate_const < U > & pu ) ;
(9) (라이브러리 펀더멘털 TS v2)
template < class T, class U >
constexpr bool operator >= ( const propagate_const < T > & pt, const propagate_const < U > & pu ) ;
(10) (라이브러리 펀더멘털 TS v2)
template < class T, class U >
constexpr bool operator == ( const propagate_const < T > & pt, const U & u ) ;
(11) (라이브러리 fundamentals TS v2)
template < class T, class U >
constexpr bool operator ! = ( const propagate_const < T > & pt, const U & u ) ;
(12) (라이브러리 fundamentals TS v2)
template < class T, class U >
constexpr bool operator == ( const T & t, const propagate_const < U > & pu ) ;
(13) (라이브러리 fundamentals TS v2)
template < class T, class U >
constexpr bool operator ! = ( const T & t, const propagate_const < U > & pu ) ;
(14) (라이브러리 펀더멘털 TS v2)
template < class T, class U >
constexpr bool operator < ( const propagate_const < T > & pt, const U & u ) ;
(15) (라이브러리 펀더멘털 TS v2)
template < class T, class U >
constexpr bool operator > ( const propagate_const < T > & pt, const U & u ) ;
(16) (라이브러리 fundamentals TS v2)
template < class T, class U >
constexpr bool operator <= ( const propagate_const < T > & pt, const U & u ) ;
(17) (라이브러리 fundamentals TS v2)
template < class T, class U >
constexpr bool operator >= ( const propagate_const < T > & pt, const U & u ) ;
(18) (라이브러리 fundamentals TS v2)
template < class T, class U >
constexpr bool operator < ( const T & t, const propagate_const < U > & pu ) ;
(19) (라이브러리 fundamentals TS v2)
template < class T, class U >
constexpr bool operator > ( const T & t, const propagate_const < U > & pu ) ;
(20) (라이브러리 fundamentals TS v2)
template < class T, class U >
constexpr bool operator <= ( const T & t, const propagate_const < U > & pu ) ;
(21) (라이브러리 fundamentals TS v2)
template < class T, class U >
constexpr bool operator >= ( const T & t, const propagate_const < U > & pu ) ;
(22) (라이브러리 fundamentals TS v2)

두 개의 propagate_const 래핑된 포인터를 비교하거나, propagate_const nullptr 사이를 비교하거나, propagate_const 와 다른 객체 사이를 비교합니다.

1-4) propagate_const nullptr 간의 동등성 비교.
5,6) propagate_const 의 동등성 비교.
7-10) 두 개의 propagate_const 에 대한 순서 비교.
11-14) propagate_const 와 다른 객체 간의 동등성 비교.
15-22) propagate_const 와 다른 객체 간의 순서 비교입니다.

매개변수

pt, pu - propagate_const 비교 대상
t, u - 비교할 다른 객체들

반환값

t_ propagate_const 에 의해 래핑된 기본 포인터와 유사한 객체를 나타낸다고 하자.

1) pt. t_ == nullptr
2) nullptr == pt. t_
3) pt. t_ ! = nullptr
4) nullptr ! = pt. t_
5) pt. t_ == pu. t_
6) pt. t_ ! = pu. t_
7) pt. t_ < pu. t_
8) pt. t_ > pu. t_
9) pt. t_ <= pu. t_
10) pt. t_ >= pu. t_
11) pt. t_ == u
12) pt. t_ ! = u
13) t == pu. t_
14) t ! = pu. t_
15) pt. t_ < u
16) pt. t_ > u
17) pt. t_ <= u
18) pt. t_ >= u
19) t < pu. t_
20) t > pu. t_
21) t <= pu. t_
22) t >= pu. t_