test: boxed_type<T>::operator T()

This commit is contained in:
Michele Caini
2024-02-23 14:02:13 +01:00
parent 44b3cb1294
commit a28ff99b08

View File

@@ -6,6 +6,10 @@ namespace test {
template<typename Type>
struct boxed_type {
Type value{};
operator Type() const noexcept {
return value;
}
};
template<typename Type>