operator==,!=,<,<=,>,>= (std::experimental::filesystem::path)
|
bool
operator
==
(
const
path
&
lhs,
const
path
&
rhs
)
;
|
(1) | (filesystem TS) |
|
bool
operator
!
=
(
const
path
&
lhs,
const
path
&
rhs
)
;
|
(2) | (filesystem TS) |
|
bool
operator
<
(
const
path
&
lhs,
const
path
&
rhs
)
;
|
(3) | (filesystem TS) |
|
bool
operator
<=
(
const
path
&
lhs,
const
path
&
rhs
)
;
|
(4) | (filesystem TS) |
|
bool
operator
>
(
const
path
&
lhs,
const
path
&
rhs
)
;
|
(5) | (filesystem TS) |
|
bool
operator
>=
(
const
path
&
lhs,
const
path
&
rhs
)
;
|
(6) | (filesystem TS) |
Vergleicht zwei Pfade lexikographisch.
Inhaltsverzeichnis |
Parameter
| lhs, rhs | - | die zu vergleichenden Pfade |
Rückgabewert
true wenn der entsprechende Vergleich zutrifft, false andernfalls.
Ausnahmen
Hinweise
Pfadgleichheit und Äquivalenz haben unterschiedliche Semantiken.
Im Falle von Gleichheit, wie durch
operator==
bestimmt, werden nur lexikalische Darstellungen verglichen. Daher ist
path
(
"a"
)
==
path
(
"b"
)
niemals
true
.
Im Falle von Äquivalenz, wie durch equivalent() bestimmt, wird geprüft, ob zwei Pfade resolve zum selben Dateisystemobjekt. Daher wird equivalent ( "a" , "b" ) true zurückgeben, wenn die Pfade zur selben Datei aufgelöst werden.
Siehe auch
|
vergleicht die lexikalischen Darstellungen zweier Pfade lexikographisch
(öffentliche Elementfunktion) |