[PATCH 06/14] cxx-compat: Fix the use of abg_compat namespace in C++17
Dodji Seketeli
dodji@seketeli.org
Fri Sep 25 21:06:00 GMT 2026
There is a thinko in abg-cxx-compat that prevents the use of
std::apply via the abg_compat namespace in C++17. Fixed thus.
* include/abg-cxx-compat.h: Allow the use of std::apply through
the abg_compat namespace in C++17 and higher.
Signed-off-by: Dodji Seketeli <dodji@seketeli.org>
---
include/abg-cxx-compat.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/abg-cxx-compat.h b/include/abg-cxx-compat.h
index 1e0c24cb..a2b8ff6b 100644
--- a/include/abg-cxx-compat.h
+++ b/include/abg-cxx-compat.h
@@ -31,6 +31,7 @@ namespace abg_compat
using std::optional;
using std::tuple;
+using std::apply;
#else
--
2.55.0
More information about the Libabigail
mailing list