eastl::string_hash_map doesn't have move constructor and operator
Opened this issue · 1 comments
I needed to compile non-copyable class with eastl::string_hash_map member but seems like it doesn't implement move semantics. Is it bug or design decision?
This is an oversight in the implementation and missing functionality.
Note that in the upcoming version of eastl the string_hash_map type has limited utility because we have implemented heterogeneous lookup for associative containers, eg. hash_map, which provides the same optimization. From the release notes:
Add support for C++14's heterogeneous comparison lookup (N3657), C++23's heterogeneous erasure (P2077R3) and C++26's heterogeneous insertion (P2363R5) functions for set, multiset, hash_set, hash_multiset, fixed_set, fixed_multiset, fixed_hash_set, fixed_hash_multiset, vector_set, vector_multiset, vector_map & vector_multimap.
See overloads 3 & 4 here for an explanation of heterogeneous comparison lookup.