Skip to content

Remove std::hash specializations#219

Merged
bugdea1er merged 1 commit into
mainfrom
remove-hash
Jun 23, 2025
Merged

Remove std::hash specializations#219
bugdea1er merged 1 commit into
mainfrom
remove-hash

Conversation

@bugdea1er
Copy link
Copy Markdown
Owner

@bugdea1er bugdea1er commented Jun 23, 2025

std::fstream, the main inspiration for file, does not define a specialization of std::hash

std::filesystem::directory_iterator, the C++ open directory abstraction, also does not

Given that storing file or directory in hashmaps is even less sensible, this pr removes the hash specializations

@bugdea1er bugdea1er requested a review from Copilot June 23, 2025 20:00

This comment was marked as resolved.

@bugdea1er bugdea1er merged commit fe90476 into main Jun 23, 2025
16 checks passed
@bugdea1er bugdea1er deleted the remove-hash branch June 23, 2025 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants