Lines Matching refs:pair
96 * @param key Indicates the key of the key-value (KV) pair to insert.
97 * @param value Indicates the value of the KV pair to insert.
98 * @return Returns <b>true</b> if the KV pair is inserted; returns
104 auto ret = map_.insert(std::pair<K, V>(key, value));
111 * @param key Indicates the key of the KV pair to insert.
112 * @param value Indicates the value of the KV pair to insert.
114 * the KV pair to ensure that the value is inserted.
119 auto ret = map_.insert(std::pair<K, V>(key, value));
123 map_.insert(std::pair<K, V>(key, value));
133 * @param value Indicates the value of the KV pair to search.
134 * @return Returns <b>true</b> if the KV pair is found;
152 * @brief Replaces the value of a KV pair.
154 * @param Key Indicates the key of the KV pair.
156 * @param newValue Indicates the new value of the KV pair.
169 map_.insert(std::pair<K, V>(key, newValue));
178 * @brief Erases a KV pair.
180 * @param Key Indicates the key of the KV pair to erase.
204 * each KV pair.