From Jason Turner

[fs.filesystem.syn]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpsvoahgkg/{from.md → to.md} +20 -2
tmp/tmpsvoahgkg/{from.md → to.md} RENAMED
@@ -20,18 +20,18 @@ namespace std::filesystem {
20
  // [fs.class.directory.iterator], directory iterators
21
  class directory_iterator;
22
 
23
  // [fs.dir.itr.nonmembers], range access for directory iterators
24
  directory_iterator begin(directory_iterator iter) noexcept;
25
- directory_iterator end(const directory_iterator&) noexcept;
26
 
27
  // [fs.class.rec.dir.itr], recursive directory iterators
28
  class recursive_directory_iterator;
29
 
30
  // [fs.rec.dir.itr.nonmembers], range access for recursive directory iterators
31
  recursive_directory_iterator begin(recursive_directory_iterator iter) noexcept;
32
- recursive_directory_iterator end(const recursive_directory_iterator&) noexcept;
33
 
34
  // [fs.class.file.status], file status
35
  class file_status;
36
 
37
  struct space_info {
@@ -197,10 +197,28 @@ namespace std::filesystem {
197
  path temp_directory_path(error_code& ec);
198
 
199
  path weakly_canonical(const path& p);
200
  path weakly_canonical(const path& p, error_code& ec);
201
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
202
  ```
203
 
204
  Implementations should ensure that the resolution and range of
205
  `file_time_type` reflect the operating system dependent resolution and
206
  range of file time values.
 
20
  // [fs.class.directory.iterator], directory iterators
21
  class directory_iterator;
22
 
23
  // [fs.dir.itr.nonmembers], range access for directory iterators
24
  directory_iterator begin(directory_iterator iter) noexcept;
25
+ directory_iterator end(directory_iterator) noexcept;
26
 
27
  // [fs.class.rec.dir.itr], recursive directory iterators
28
  class recursive_directory_iterator;
29
 
30
  // [fs.rec.dir.itr.nonmembers], range access for recursive directory iterators
31
  recursive_directory_iterator begin(recursive_directory_iterator iter) noexcept;
32
+ recursive_directory_iterator end(recursive_directory_iterator) noexcept;
33
 
34
  // [fs.class.file.status], file status
35
  class file_status;
36
 
37
  struct space_info {
 
197
  path temp_directory_path(error_code& ec);
198
 
199
  path weakly_canonical(const path& p);
200
  path weakly_canonical(const path& p, error_code& ec);
201
  }
202
+
203
+ // [fs.path.hash], hash support
204
+ namespace std {
205
+ template<class T> struct hash;
206
+ template<> struct hash<filesystem::path>;
207
+ }
208
+
209
+ namespace std::ranges {
210
+ template<>
211
+ inline constexpr bool enable_borrowed_range<filesystem::directory_iterator> = true;
212
+ template<>
213
+ inline constexpr bool enable_borrowed_range<filesystem::recursive_directory_iterator> = true;
214
+
215
+ template<>
216
+ inline constexpr bool enable_view<filesystem::directory_iterator> = true;
217
+ template<>
218
+ inline constexpr bool enable_view<filesystem::recursive_directory_iterator> = true;
219
+ }
220
  ```
221
 
222
  Implementations should ensure that the resolution and range of
223
  `file_time_type` reflect the operating system dependent resolution and
224
  range of file time values.