diff --git a/source/mijin/util/traits.hpp b/source/mijin/util/traits.hpp index e96452f..aaa3141 100644 --- a/source/mijin/util/traits.hpp +++ b/source/mijin/util/traits.hpp @@ -121,6 +121,24 @@ using copy_volatile_t = std::conditional_t, std::add_v template using copy_cv_t = copy_const_t>; +template +using delay_type_t = TActual; + + +template +struct TypeAtHelper +{ + using type_t = std::conditional_t>; +}; + +template +struct TypeAtHelper +{ + using type_t = std::enable_if_t; +}; +template +using type_at_t = TypeAtHelper::type_t; + // // public functions //