Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions include/xtl/xmasked_value.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,28 @@ namespace xtl
#undef DEFINE_UNARY_BOOL_OPERATOR
#undef DEFINE_OPERATOR
#undef DEFINE_BOOL_OPERATOR


template <class T, class B>
struct is_scalar<xmasked_value<T, B>> : is_scalar<std::remove_reference_t<T>>
{
};

template <class T, class B>
struct is_arithmetic<xmasked_value<T, B>> : is_arithmetic<std::remove_reference_t<T>>
{
};

template <class T, class B>
struct is_signed<xmasked_value<T, B>> : is_signed<std::remove_reference_t<T>>
{
};

template <class T, class B>
struct is_floating_point<xmasked_value<T, B>> : is_floating_point<std::remove_reference_t<T>>
{
};

}

#endif