operator==,!=,<,<=,>,>= (std::experimental::propagate_const)
From cppreference.net
<
cpp
|
experimental
|
propagate const
|
template
<
class
T
>
constexpr bool operator == ( const propagate_const < T > & pt, nullptr_t ) ; |
(1) | (Library Fundamentals TS v2) |
|
template
<
class
T
>
constexpr bool operator == ( nullptr_t, const propagate_const < T > & pt ) ; |
(2) | (Bibliotheksgrundlagen TS v2) |
|
template
<
class
T
>
constexpr bool operator ! = ( const propagate_const < T > & pt, nullptr_t ) ; |
(3) | (Library Fundamentals TS v2) |
|
template
<
class
T
>
constexpr bool operator ! = ( nullptr_t, const propagate_const < T > & pt ) ; |
(4) | (Library Fundamentals TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator == ( const propagate_const < T > & pt, const propagate_const < U > & pu ) ; |
(5) | (Bibliotheksgrundlagen TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator ! = ( const propagate_const < T > & pt, const propagate_const < U > & pu ) ; |
(6) | (Bibliotheksgrundlagen TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator < ( const propagate_const < T > & pt, const propagate_const < U > & pu ) ; |
(7) | (Bibliotheksgrundlagen TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator > ( const propagate_const < T > & pt, const propagate_const < U > & pu ) ; |
(8) | (Bibliotheksgrundlagen TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator <= ( const propagate_const < T > & pt, const propagate_const < U > & pu ) ; |
(9) | (Bibliotheksgrundlagen TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator >= ( const propagate_const < T > & pt, const propagate_const < U > & pu ) ; |
(10) | (Bibliotheksgrundlagen TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator == ( const propagate_const < T > & pt, const U & u ) ; |
(11) | (Bibliotheksgrundlagen TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator ! = ( const propagate_const < T > & pt, const U & u ) ; |
(12) | (Bibliotheksgrundlagen TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator == ( const T & t, const propagate_const < U > & pu ) ; |
(13) | (Bibliotheksgrundlagen TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator ! = ( const T & t, const propagate_const < U > & pu ) ; |
(14) | (Bibliotheksgrundlagen TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator < ( const propagate_const < T > & pt, const U & u ) ; |
(15) | (Bibliotheksgrundlagen TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator > ( const propagate_const < T > & pt, const U & u ) ; |
(16) | (Bibliotheksgrundlagen TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator <= ( const propagate_const < T > & pt, const U & u ) ; |
(17) | (Bibliotheksgrundlagen TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator >= ( const propagate_const < T > & pt, const U & u ) ; |
(18) | (Bibliotheksgrundlagen TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator < ( const T & t, const propagate_const < U > & pu ) ; |
(19) | (Bibliotheksgrundlagen TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator > ( const T & t, const propagate_const < U > & pu ) ; |
(20) | (Bibliotheksgrundlagen TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator <= ( const T & t, const propagate_const < U > & pu ) ; |
(21) | (Bibliotheksgrundlagen TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator >= ( const T & t, const propagate_const < U > & pu ) ; |
(22) | (Bibliotheksgrundlagen TS v2) |
Vergleicht die umschlossenen Zeiger von zwei
propagate_const
s, oder zwischen einem
propagate_const
und
nullptr
, oder zwischen einem
propagate_const
und einem anderen Objekt.
1-4)
Gleichheitsvergleich für einen
propagate_const
und
nullptr
.
5,6)
Gleichheitsvergleich für zwei
propagate_const
s.
7-10)
Geordneter Vergleich für zwei
propagate_const
s.
11-14)
Gleichheitsvergleich für ein
propagate_const
und ein anderes Objekt.
15-22)
Geordneter Vergleich für ein
propagate_const
und ein anderes Objekt.
Parameter
| pt, pu | - |
propagate_const
s zu vergleichen
|
| t, u | - | andere zu vergleichende Objekte |
Rückgabewert
Sei
t_
das zugrundeliegende zeigerähnliche Objekt, das von einem
propagate_const
umschlossen wird.
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_