Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
functional/hash: 透過的ハッシュ/等値比較の例示コードを改善
C++20標準の`std::equal_to<std::string>`や`std::hash<std::string>`は、 透過的な計算動作を示すメンバ型`is_transparent`を持つことはない。 独自の文字列ハッシュ計算クラスと`std::equal_to<>`に置き換える。
- Loading branch information
Showing
1 changed file
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters