From 1d5be4d23b8b61f657b5f023f19720d81816a115 Mon Sep 17 00:00:00 2001 From: Mykola Vankovych Date: Wed, 3 Aug 2022 14:17:01 +0200 Subject: [PATCH] adding is_arithmetic, is_floating, etc. traits to xmasked_value. --- include/xtl/xmasked_value.hpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/include/xtl/xmasked_value.hpp b/include/xtl/xmasked_value.hpp index 1009b4c..157e427 100644 --- a/include/xtl/xmasked_value.hpp +++ b/include/xtl/xmasked_value.hpp @@ -541,6 +541,28 @@ namespace xtl #undef DEFINE_UNARY_BOOL_OPERATOR #undef DEFINE_OPERATOR #undef DEFINE_BOOL_OPERATOR + + + template + struct is_scalar> : is_scalar> + { + }; + + template + struct is_arithmetic> : is_arithmetic> + { + }; + + template + struct is_signed> : is_signed> + { + }; + + template + struct is_floating_point> : is_floating_point> + { + }; + } #endif