wgtmac commented on code in PR #180:
URL: https://github.com/apache/iceberg-cpp/pull/180#discussion_r2306086279
##########
src/iceberg/util/string_util.h:
##########
@@ -46,4 +46,15 @@ class ICEBERG_EXPORT StringUtils {
}
};
+/// \brief Transparent hash function that supports std::string_view as lookup
key
+///
+/// Enables std::unordered_map to directly accept std::string_view lookup keys
+/// without creating temporary std::string objects, using C++20's transparent
lookup.
+struct string_hash {
Review Comment:
```suggestion
struct ICEBERG_EXPORT StringViewHash {
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]