]> Savannah Git Hosting - gnulib.git/commitdiff
Document the new modules list-c++, set-c++, oset-c++, map-c++, omap-c++.
authorBruno Haible <bruno@clisp.org>
Sun, 2 Feb 2020 18:25:05 +0000 (19:25 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 2 Feb 2020 18:25:05 +0000 (19:25 +0100)
* doc/containers.texi: Document these new modules.

ChangeLog
doc/containers.texi

index 05f0dccee84c59a321b8b1db362924bc7df46817..2a86791a867ec39169bc3cd59309359ac19c1566 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2020-02-02  Bruno Haible  <bruno@clisp.org>
+
+       Document the new modules list-c++, set-c++, oset-c++, map-c++, omap-c++.
+       * doc/containers.texi: Document these new modules.
+
 2020-02-02  Bruno Haible  <bruno@clisp.org>
 
        omap-c++: Add tests.
index 739ed811b7aea17c80a06c22ed5d69da6221b1a1..b3f154db458df0f6abd4aa9d4ac3ba7db7a2682a 100644 (file)
@@ -498,6 +498,35 @@ for the ``ordered map'' data type are:
 @tab @math{O(@log n)}
 @end multitable
 
+For C++, Gnulib provides a C++ template class for each of these container data types.
+
+@multitable @columnfractions .30 .20 .25 .25
+@headitem Data type
+@tab C++ class
+@tab Module
+@tab Include file
+@item Sequential list
+@tab @code{gl_List}
+@tab @code{list-c++}
+@tab @code{"gl_list.hh"}
+@item Set
+@tab @code{gl_Set}
+@tab @code{set-c++}
+@tab @code{"gl_set.hh"}
+@item Ordered set
+@tab @code{gl_OSet}
+@tab @code{oset-c++}
+@tab @code{"gl_oset.hh"}
+@item Map
+@tab @code{gl_Map}
+@tab @code{map-c++}
+@tab @code{"gl_map.hh"}
+@item Ordered map
+@tab @code{gl_OMap}
+@tab @code{omap-c++}
+@tab @code{"gl_omap.hh"}
+@end multitable
+
 @ifnottex
 @unmacro log
 @end ifnottex