From a28ff99b0800715771338eb009d4466df2ee04ad Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Fri, 23 Feb 2024 14:02:13 +0100 Subject: [PATCH] test: boxed_type::operator T() --- test/common/boxed_type.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/common/boxed_type.h b/test/common/boxed_type.h index 0ab121fdd..90e07e37a 100644 --- a/test/common/boxed_type.h +++ b/test/common/boxed_type.h @@ -6,6 +6,10 @@ namespace test { template struct boxed_type { Type value{}; + + operator Type() const noexcept { + return value; + } }; template