From f4a23b264e32e8c3101ffe39ad38c3114acd1a24 Mon Sep 17 00:00:00 2001
From: Bruno Haible <bruno@clisp.org>
Date: Sun, 2 Feb 2020 19:25:05 +0100
Subject: [PATCH] Document the new modules list-c++, set-c++, oset-c++,
 map-c++, omap-c++.

* doc/containers.texi: Document these new modules.
---
 ChangeLog           |  5 +++++
 doc/containers.texi | 29 +++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 05f0dccee8..2a86791a86 100644
--- 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.
diff --git a/doc/containers.texi b/doc/containers.texi
index 739ed811b7..b3f154db45 100644
--- a/doc/containers.texi
+++ b/doc/containers.texi
@@ -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
-- 
2.39.5