From Jason Turner

[fs.path.compare]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpcu0bkgbb/{from.md → to.md} +32 -0
tmp/tmpcu0bkgbb/{from.md → to.md} RENAMED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ##### `path` compare <a id="fs.path.compare">[[fs.path.compare]]</a>
2
+
3
+ ``` cpp
4
+ int compare(const path& p) const noexcept;
5
+ ```
6
+
7
+ *Returns:*
8
+
9
+ - A value less than `0`, if `native()` for the elements of `*this` are
10
+ lexicographically less than `native()` for the elements of `p`;
11
+ otherwise,
12
+ - a value greater than `0`, if `native()` for the elements of `*this`
13
+ are lexicographically greater than `native()` for the elements of `p`;
14
+ otherwise,
15
+ - `0`.
16
+
17
+ *Remarks:* The elements are determined as if by iteration over the
18
+ half-open range \[`begin()`, `end()`) for `*this` and `p`.
19
+
20
+ ``` cpp
21
+ int compare(const string_type& s) const
22
+ int compare(basic_string_view<value_type> s) const;
23
+ ```
24
+
25
+ *Returns:* `compare(path(s))`.
26
+
27
+ ``` cpp
28
+ int compare(const value_type* s) const
29
+ ```
30
+
31
+ *Returns:* `compare(path(s))`.
32
+