From 33084d36ad5c380dfef8db6e6f5a78760c8229ea 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. --- include/cling/Interpreter/RuntimePrintValue.h | 74 +++++++++++++++---- 1 file changed, 59 insertions(+), 15 deletions(-) diff --git a/include/cling/Interpreter/RuntimePrintValue.h b/include/cling/Interpreter/RuntimePrintValue.h index 2231c46751..0924b94024 100644 --- a/include/cling/Interpreter/RuntimePrintValue.h +++ b/include/cling/Interpreter/RuntimePrintValue.h @@ -245,23 +245,67 @@ namespace cling { return str + " }"; } - // Tuples and pairs - template