File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 12668
12668
path weakly_canonical(const path& p, error_code& ec);
12669
12669
}
12670
12670
12671
+ // \ref {fs.path.hash }, hash support
12672
+ namespace std {
12673
+ template<class T> struct hash;
12674
+ template<> struct hash<filesystem::path>;
12675
+ }
12676
+
12671
12677
namespace std::ranges {
12672
12678
template<>
12673
12679
inline constexpr bool enable_borrowed_range<filesystem::directory_iterator> = true;
14618
14624
Equivalent to: \tcode {return path(lhs) /= rhs;}
14619
14625
\end {itemdescr }
14620
14626
14627
+ \rSec 3[fs.path.hash]{Hash support}
14628
+
14629
+ \begin {itemdecl }
14630
+ template<> struct hash<filesystem::path>;
14631
+ \end {itemdecl }
14632
+
14633
+ \begin {itemdescr }
14634
+ \pnum
14635
+ For an object \tcode {p} of type \tcode {filesystem::path},
14636
+ \tcode {hash<filesystem::path>()(p)} evaluates to the same result as
14637
+ \tcode {filesystem::hash_value(p)}.
14638
+ \end {itemdescr }
14639
+
14621
14640
\rSec 2[fs.class.filesystem.error]{Class \tcode {filesystem_error}}
14622
14641
14623
14642
\rSec 3[fs.class.filesystem.error.general]{General}
You can’t perform that action at this time.
0 commit comments