From 6f331bfa27faa92f848163827ee799b3e2de73c1 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Thu, 27 Jun 2024 17:50:40 +0200 Subject: Add C++ utility classes (un)expected ... mimicking C++23's std::(un)expected, so we can more easily adapt to newer C++ standards once we decide to upgrade. --- src/utils/cpp/TARGETS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/utils/cpp/TARGETS') diff --git a/src/utils/cpp/TARGETS b/src/utils/cpp/TARGETS index 68c67be8..8a7f8dff 100644 --- a/src/utils/cpp/TARGETS +++ b/src/utils/cpp/TARGETS @@ -113,4 +113,10 @@ , "hdrs": ["prefix.hpp"] , "stage": ["src", "utils", "cpp"] } +, "expected": + { "type": ["@", "rules", "CC", "library"] + , "name": ["expected"] + , "hdrs": ["expected.hpp"] + , "stage": ["src", "utils", "cpp"] + } } -- cgit v1.2.3