From f33e8d194bffc245d875a990136611af87e5c679 Mon Sep 17 00:00:00 2001 From: Christoph Hasse <christoph.hasse@cern.ch> Date: Wed, 29 Jun 2022 10:43:55 +0200 Subject: [PATCH] fix(functors) introduce Functors::Optional<T>::value_type --- Phys/FunctorCore/include/Functors/Optional.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Phys/FunctorCore/include/Functors/Optional.h b/Phys/FunctorCore/include/Functors/Optional.h index 4f6fb0219bc..c073bc3985e 100644 --- a/Phys/FunctorCore/include/Functors/Optional.h +++ b/Phys/FunctorCore/include/Functors/Optional.h @@ -26,6 +26,8 @@ namespace Functors { */ template <typename T> struct Optional { + using value_type = T; + Optional() = default; Optional( std::nullopt_t /*unused*/ ){}; template <typename U = T, -- GitLab