This fails to compile. Is this a problem with EASTL or in my understanding of how the hash_map can be used? I am using 3.05.00.
eastl\include\EASTL\utility.h(401,10): error 331-D: "Key::Key(const Key &)" (declared at line 10 of "test.cpp") is inaccessible
detected during:
eastl\include\EASTL\utility.h(47491,48): instantiation of "eastl::pair<T1, T2>::pair(const T1 &) [with T1=const Key, T2=int]" at line 1442 of "eastl\include\EASTL\internal\hashtable.h"
eastl\include\EASTL\utility.h(48466,52): instantiation of "eastl::hashtable<Key, Value, Allocator, ExtractKey, Equal, H1, H2, H, RehashPolicy, bCacheHashCode, bMutableIterators, bUniqueKeys>::node_type *eastl::hashtable<Key, Value, Allocator, ExtractKey, Equal, H1, H2, H, RehashPolicy, bCacheHashCode, bMutableIterators, bUniqueKeys>::DoAllocateNodeFromKey(const eastl::hashtable<Key, Value, Allocator, ExtractKey, Equal, H1, H2, H, RehashPolicy, bCacheHashCode, bMutableIterators, bUniqueKeys>::key_type &) [with Key=Key, Value=eastl::pair<const Key, int>, Allocator=eastl::allocator, ExtractKey=eastl::use_first<eastl::pair<const Key, int>>, Equal=eastl::equal_to<Key>, H1=Hash, H2=eastl::mod_range_hashing, H=eastl::default_ranged_hash, RehashPolicy=eastl::prime_rehash_policy, bCacheHashCode=false, bMutableIterators=true, bUniqueKeys=true]" at line 2417 of "eastl\include\EASTL\internal\hashtable.h"
eastl\include\EASTL\utility.h(49276,66): instantiation of "eastl::pair<eastl::hashtable_iterator<Value, <expression>, bCacheHashCode>, bool> eastl::hashtable<Key, Value, Allocator, ExtractKey, Equal, H1, H2, H, RehashPolicy, bCacheHashCode, bMutableIterators, bUniqueKeys>::DoInsertKey(eastl::true_type, const eastl::hashtable<Key, Value, Allocator, ExtractKey, Equal, H1, H2, H, RehashPolicy, bCacheHashCode, bMutableIterators, bUniqueKeys>::key_type &) [with Key=Key, Value=eastl::pair<const Key, int>, Allocator=eastl::allocator, ExtractKey=eastl::use_first<eastl::pair<const Key, int>>, Equal=eastl::equal_to<Key>, H1=Hash, H2=eastl::mod_range_hashing, H=eastl::default_ranged_hash, RehashPolicy=eastl::prime_rehash_policy, bCacheHashCode=false, bMutableIterators=true, bUniqueKeys=true]" at line 254 of "eastl\include\eastl\hash_map.h"
eastl\include\EASTL\utility.h(49560,13): instantiation of "eastl::hash_map<Key, T, Hash, Predicate, Allocator, bCacheHashCode>::mapped_type &eastl::hash_map<Key, T, Hash, Predicate, Allocator, bCacheHashCode>::operator[](eastl::hash_map<Key, T, Hash, Predicate, Allocator, bCacheHashCode>::key_type &&) [with Key=Key, T=int, Hash=Hash, Predicate=eastl::equal_to<Key>, Allocator=eastl::allocator, bCacheHashCode=false]" at line 22 of "test.cpp"