types/traits: move inner_type to the util namespace
This commit is contained in:
parent
e92f0dc337
commit
00c46e0f9a
|
@ -349,6 +349,7 @@ template <typename T>
|
||||||
constexpr auto is_contiguous_v = is_contiguous<T>::value;
|
constexpr auto is_contiguous_v = is_contiguous<T>::value;
|
||||||
|
|
||||||
|
|
||||||
|
namespace util {
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
/// stores the type of '::value_type' for a given type, or the type itself if
|
/// stores the type of '::value_type' for a given type, or the type itself if
|
||||||
/// it does not have such a type.
|
/// it does not have such a type.
|
||||||
|
@ -371,6 +372,7 @@ struct inner_type<
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
template <typename ValueT>
|
template <typename ValueT>
|
||||||
using inner_type_t = typename inner_type<ValueT>::type;
|
using inner_type_t = typename inner_type<ValueT>::type;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Reference in New Issue
Block a user