unordered_map2.ch
Declarations
Public Only
Publicnamespace std
namespace std
Publicstruct unordered_map_node
struct unordered_map_node<Key, Value>
Publicstruct unordered_map
struct unordered_map<Key, Value>
Publicfunction hash_now
func hash_now(self : &unordered_map, key : &) : size_t
Publicfunction hash_with_capacity
func hash_with_capacity(self : &unordered_map, key : &) : size_t
Publicfunction compare_now
func compare_now(key : &, key2 : &) : bool
Publicfunction make
func make() : unordered_map
Publicfunction delete
func delete(self : &unordered_map) : void
Publicfunction insert
func insert(self : &unordered_map, key : , value : ) : void
Insert or update a key-value pair
Publicfunction get_ptr
func get_ptr(self : &unordered_map, key : &) : *
Publicfunction contains
func contains(self : &unordered_map, key : &) : bool
Publicfunction iterator
Publicstruct unordered_map_iterator
struct unordered_map_iterator<Key, Value>
Publicfunction next
func next(self : &unordered_map_iterator) : void
Publicfunction value
func value(self : &unordered_map_iterator) : &
Publicfunction valid
func valid(self : &unordered_map_iterator) : bool