libstdc++: Define std::hash<std::filesystem::path> (LWG 3657)
authorJonathan Wakely <jwakely@redhat.com>
Mon, 25 Apr 2022 17:21:57 +0000 (18:21 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 26 Apr 2022 12:22:18 +0000 (13:22 +0100)
commite3c5e8360b4e4799e1e2daf74282629248690f23
treec94078d6f0d97a5f3a344518eee9c7e49899c470
parentad56a60f58c1ed662deaf60d5736c332ec2caabb
libstdc++: Define std::hash<std::filesystem::path> (LWG 3657)

This DR was approved at the February 2022 plenary.

libstdc++-v3/ChangeLog:

* include/bits/fs_path.h (hash<filesystem::path>): Define.
* testsuite/27_io/filesystem/path/nonmember/hash_value.cc:
Check std::hash specialization.
libstdc++-v3/include/bits/fs_path.h
libstdc++-v3/testsuite/27_io/filesystem/path/nonmember/hash_value.cc