src/cx/map.h

changeset 1114
ad5eeb256242
parent 1111
78eeeb950883
child 1115
6db21dee4929
--- a/src/cx/map.h	Tue Jan 07 18:37:07 2025 +0100
+++ b/src/cx/map.h	Tue Jan 07 19:16:03 2025 +0100
@@ -494,6 +494,8 @@
  * Puts a key/value-pair into the map.
  *
  * A possible existing value will be overwritten.
+ * If destructor functions are specified, they are called for
+ * the overwritten element.
  *
  * If this map is storing pointers, the @p value pointer is written
  * to the map. Otherwise, the memory is copied from @p value with
@@ -705,7 +707,7 @@
  * Removes a key/value-pair from the map by using the key.
  *
  * This function will copy the contents of the removed element
- * to the target buffer must be guaranteed to be large enough
+ * to the target buffer, which must be guaranteed to be large enough
  * to hold the element (the map's element size).
  * The destructor functions, if any, will @em not be called.
  *

mercurial