src/cx/hash_map.h

changeset 1111
78eeeb950883
parent 1095
a5b0e47fc7de
equal deleted inserted replaced
1110:a0e9be7ed131 1111:78eeeb950883
67 /** 67 /**
68 * Creates a new hash map with the specified number of buckets. 68 * Creates a new hash map with the specified number of buckets.
69 * 69 *
70 * If @p buckets is zero, an implementation defined default will be used. 70 * If @p buckets is zero, an implementation defined default will be used.
71 * 71 *
72 * If @p elem_size is CX_STORE_POINTERS, the created map will be created as if 72 * If @p elem_size is #CX_STORE_POINTERS, the created map stores pointers instead of
73 * cxMapStorePointers() was called immediately after creation. 73 * copies of the added elements.
74 * 74 *
75 * @note Iterators provided by this hash map implementation provide the remove operation. 75 * @note Iterators provided by this hash map implementation provide the remove operation.
76 * The index value of an iterator is incremented when the iterator advanced without removal. 76 * The index value of an iterator is incremented when the iterator advanced without removal.
77 * In other words, when the iterator is finished, @c index==size . 77 * In other words, when the iterator is finished, @c index==size .
78 * 78 *
92 ); 92 );
93 93
94 /** 94 /**
95 * Creates a new hash map with a default number of buckets. 95 * Creates a new hash map with a default number of buckets.
96 * 96 *
97 * If @p elem_size is CX_STORE_POINTERS, the created map will be created as if 97 * If @p elem_size is #CX_STORE_POINTERS, the created map stores pointers instead of
98 * cxMapStorePointers() was called immediately after creation. 98 * copies of the added elements.
99 * 99 *
100 * @note Iterators provided by this hash map implementation provide the remove operation. 100 * @note Iterators provided by this hash map implementation provide the remove operation.
101 * The index value of an iterator is incremented when the iterator advanced without removal. 101 * The index value of an iterator is incremented when the iterator advanced without removal.
102 * In other words, when the iterator is finished, @c index==size . 102 * In other words, when the iterator is finished, @c index==size .
103 * 103 *

mercurial