src/cx/map.h

changeset 1424
563033aa998c
parent 1411
838796848e12
--- a/src/cx/map.h	Sat Oct 11 15:42:48 2025 +0200
+++ b/src/cx/map.h	Sun Oct 12 20:21:56 2025 +0200
@@ -230,7 +230,7 @@
  *
  * Writing to that map is not allowed.
  *
- * You can use this is a placeholder for initializing CxMap pointers
+ * You can use this as a placeholder for initializing CxMap pointers
  * for which you do not want to reserve memory right from the beginning.
  */
 cx_attr_export
@@ -292,7 +292,7 @@
 /**
  * Creates a key iterator for a map.
  *
- * The elements of the iterator are keys of type CxHashKey and the pointer returned
+ * The elements of the iterator are keys of type CxHashKey, and the pointer returned
  * during iterator shall be treated as @c const @c CxHashKey* .
  *
  * @note An iterator iterates over all elements successively. Therefore, the order
@@ -310,7 +310,7 @@
 /**
  * Creates an iterator for a map.
  *
- * The elements of the iterator are key/value pairs of type CxMapEntry and the pointer returned
+ * The elements of the iterator are key/value pairs of type CxMapEntry, and the pointer returned
  * during iterator shall be treated as @c const @c CxMapEntry* .
  *
  * @note An iterator iterates over all elements successively. Therefore, the order
@@ -348,7 +348,7 @@
 /**
  * Creates a mutating iterator over the keys of a map.
  *
- * The elements of the iterator are keys of type CxHashKey and the pointer returned
+ * The elements of the iterator are keys of type CxHashKey, and the pointer returned
  * during iterator shall be treated as @c const @c CxHashKey* .
  *
  * @note An iterator iterates over all elements successively. Therefore, the order
@@ -364,7 +364,7 @@
 /**
  * Creates a mutating iterator for a map.
  *
- * The elements of the iterator are key/value pairs of type CxMapEntry and the pointer returned
+ * The elements of the iterator are key/value pairs of type CxMapEntry, and the pointer returned
  * during iterator shall be treated as @c const @c CxMapEntry* .
  *
  * @note An iterator iterates over all elements successively. Therefore, the order
@@ -516,7 +516,7 @@
 /**
  * Removes a key/value-pair from the map by using the key.
  *
- * Invokes the destructor functions, if any, on the removed element, if and only if the
+ * Invokes the destructor functions, if any, on the removed element if and only if the
  * @p targetbuf is @c NULL.
  *
  * @param map the map

mercurial