C++20 Port #5

Merged
kayomn merged 35 commits from cpp-port into main 2023-02-20 02:33:45 +01:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit a58b0d7bdb - Show all commits

View File

@ -497,6 +497,8 @@ export namespace core {
/** /**
* Returns a hash code generated from the values in `bytes`. * Returns a hash code generated from the values in `bytes`.
*
* *Note:* the returned hash code is not guaranteed to be unique.
*/ */
constexpr usize hash(slice<u8 const> const & bytes) { constexpr usize hash(slice<u8 const> const & bytes) {
usize hash_code = 5381; usize hash_code = 5381;