diff --git a/include/continuable/detail/utility/traits.hpp b/include/continuable/detail/utility/traits.hpp index a9e2736..7c88688 100644 --- a/include/continuable/detail/utility/traits.hpp +++ b/include/continuable/detail/utility/traits.hpp @@ -40,6 +40,12 @@ namespace cti { namespace detail { namespace traits { +/// Removes all references and qualifiers from the given type T, +/// since std::decay has too much overhead through checking for +/// function pointers and arrays also. +template +using unrefcv_t = std::remove_cv_t>; + namespace detail { template struct index_of_impl;