From f6bcdf67b1b981592825d6a6a1c4d3ff122de553 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 20 Dec 2025 15:43:47 +0100 Subject: WIP --- src/util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 38d89f2..3e689eb 100644 --- a/src/util.h +++ b/src/util.h @@ -39,3 +39,7 @@ std::vector argsplit(const std::string& str); //! Calls the system getenv and sets the string if the env name it exists. //! \returns true if the env name existed, false otherwise. bool get_env(std::string_view name, std::string& value); + +// helper type for the visitor +template +struct overloaded : Ts... { using Ts::operator()...; }; -- cgit v1.2.3