From Jason Turner

[fs.filesystem.syn]

Diff to HTML by rtfpessoa

tmp/tmp6j0tmac9/{from.md → to.md} RENAMED
@@ -198,26 +198,29 @@ namespace std::filesystem {
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
 
198
 
199
  path weakly_canonical(const path& p);
200
  path weakly_canonical(const path& p, error_code& ec);
201
  }
202
 
 
203
  namespace std {
204
+ // [fs.path.fmtr], formatting support
205
+ template<class charT> struct formatter<filesystem::path, charT>;
206
+
207
+ // [fs.path.hash], hash support
208
  template<class T> struct hash;
209
  template<> struct hash<filesystem::path>;
210
  }
211
 
212
  namespace std::ranges {
213
  template<>
214
+ inline constexpr bool \libspec{enable_borrowed_range}{directory_iterator}<filesystem::directory_iterator> = true;
215
  template<>
216
+ inline constexpr bool \libspec{enable_borrowed_range}{recursive_directory_iterator}<filesystem::recursive_directory_iterator> = true;
217
 
218
  template<>
219
+ inline constexpr bool \libspec{enable_view}{directory_iterator}<filesystem::directory_iterator> = true;
220
  template<>
221
+ inline constexpr bool \libspec{enable_view}{recursive_directory_iterator}<filesystem::recursive_directory_iterator> = true;
222
  }
223
  ```
224
 
225
  Implementations should ensure that the resolution and range of
226
  `file_time_type` reflect the operating system dependent resolution and