src/cx/collection.h

changeset 1163
68ff0839bc6a
parent 1091
04a114799d9d
--- a/src/cx/collection.h	Mon Jan 27 20:27:39 2025 +0100
+++ b/src/cx/collection.h	Tue Jan 28 18:27:46 2025 +0100
@@ -92,6 +92,11 @@
      * instead of copies of the actual objects.
      */
     bool store_pointer;
+    /**
+     * Indicates if this collection is guaranteed to be sorted.
+     * Note that the elements can still be sorted, even when the collection is not aware of that.
+     */
+    bool sorted;
 };
 
 /**

mercurial