From 23bd69c7251445cca9a578a93d9361a67efa56dc Mon Sep 17 00:00:00 2001 From: Axel Naumann Date: Fri, 8 Dec 2023 11:30:11 +0100 Subject: [PATCH] Revert "[Cling] Simplify std::tuple/pair value printer" This reverts commit bfbb58e6f74c38b883ce6e6e096b6c6e44028869. cling needs to be able to interpret C++11, even if built with C++17. --- .../cling/Interpreter/RuntimePrintValue.h | 74 +++++++++++++++---- 1 file changed, 59 insertions(+), 15 deletions(-) diff --git a/interpreter/cling/include/cling/Interpreter/RuntimePrintValue.h b/interpreter/cling/include/cling/Interpreter/RuntimePrintValue.h index 2231c46751ba8..0924b94024879 100644 --- a/interpreter/cling/include/cling/Interpreter/RuntimePrintValue.h +++ b/interpreter/cling/include/cling/Interpreter/RuntimePrintValue.h @@ -245,23 +245,67 @@ namespace cling { return str + " }"; } - // Tuples and pairs - template