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) | (bibliothèque fondamentale TS v2) |
|
template
<
class
T
>
constexpr bool operator == ( nullptr_t, const propagate_const < T > & pt ) ; |
(2) | (spécifications techniques des bibliothèques fondamentales v2) |
|
template
<
class
T
>
constexpr bool operator ! = ( const propagate_const < T > & pt, nullptr_t ) ; |
(3) | (bibliothèque fundamentals TS v2) |
|
template
<
class
T
>
constexpr bool operator ! = ( nullptr_t, const propagate_const < T > & pt ) ; |
(4) | (bibliothèque fundamentals TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator == ( const propagate_const < T > & pt, const propagate_const < U > & pu ) ; |
(5) | (bibliothèque fondamentale TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator ! = ( const propagate_const < T > & pt, const propagate_const < U > & pu ) ; |
(6) | (bibliothèque fondamentale TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator < ( const propagate_const < T > & pt, const propagate_const < U > & pu ) ; |
(7) | (bibliothèque fondamentale TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator > ( const propagate_const < T > & pt, const propagate_const < U > & pu ) ; |
(8) | (bibliothèque fondamentale TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator <= ( const propagate_const < T > & pt, const propagate_const < U > & pu ) ; |
(9) | (bibliothèque fundamentals TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator >= ( const propagate_const < T > & pt, const propagate_const < U > & pu ) ; |
(10) | (bibliothèque fundamentals TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator == ( const propagate_const < T > & pt, const U & u ) ; |
(11) | (bibliothèque fondamentale TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator ! = ( const propagate_const < T > & pt, const U & u ) ; |
(12) | (bibliothèque fondamentale TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator == ( const T & t, const propagate_const < U > & pu ) ; |
(13) | (bibliothèque fundamentals TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator ! = ( const T & t, const propagate_const < U > & pu ) ; |
(14) | (bibliothèque fundamentals TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator < ( const propagate_const < T > & pt, const U & u ) ; |
(15) | (bibliothèque fundamentals TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator > ( const propagate_const < T > & pt, const U & u ) ; |
(16) | (bibliothèque fondamentale TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator <= ( const propagate_const < T > & pt, const U & u ) ; |
(17) | (bibliothèque fondamentale TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator >= ( const propagate_const < T > & pt, const U & u ) ; |
(18) | (bibliothèque fundamentals TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator < ( const T & t, const propagate_const < U > & pu ) ; |
(19) | (spécifications techniques des bibliothèques fondamentales v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator > ( const T & t, const propagate_const < U > & pu ) ; |
(20) | (bibliothèque fondamentale TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator <= ( const T & t, const propagate_const < U > & pu ) ; |
(21) | (bibliothèque fondamentale TS v2) |
|
template
<
class
T,
class
U
>
constexpr bool operator >= ( const T & t, const propagate_const < U > & pu ) ; |
(22) | (bibliothèque fundamentals TS v2) |
Compare les pointeurs encapsulés de deux
propagate_const
, ou entre un
propagate_const
et
nullptr
, ou entre un
propagate_const
et un autre objet.
1-4)
Comparaison d'égalité pour un
propagate_const
et
nullptr
.
5,6)
Comparaison d'égalité pour deux
propagate_const
.
7-10)
Comparaison ordonnée pour deux
propagate_const
s.
11-14)
Comparaison d'égalité pour un
propagate_const
et un autre objet.
15-22)
Comparaison ordonnée entre un
propagate_const
et un autre objet.
Paramètres
| pt, pu | - |
propagate_const
à comparer
|
| t, u | - | autres objets à comparer |
Valeur de retour
Soit
t_
l'objet de type pointeur sous-jacent encapsulé par un
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_