Traits to identify specific types. More...
Classes | |
struct | util::is_instance_of< Template, T > |
Trait describing whether T is a template instance of Template . More... | |
struct | util::is_STLarray< T > |
Identifies whether the specified type is a STL array. More... | |
struct | util::is_character_type< T > |
Trait: whether type T is a character type. More... | |
struct | util::is_string_type< T > |
Trait: whether type T is a character string type. More... | |
struct | util::is_basic_string_type< T > |
Trait: whether type T is a STL string type. More... | |
struct | util::is_basic_string_view_type< T > |
Trait: whether type T is a std::string_view type. More... | |
Typedefs | |
template<typename T > | |
using | util::is_reference_wrapper = is_instance_of< std::reference_wrapper, T > |
Identifies whether the specified type is a std::reference_wrapper . More... | |
template<typename T > | |
using | util::is_unique_ptr = is_instance_of< std::unique_ptr, T > |
Identifies whether the specified type is a std::unique_ptr . More... | |
Variables | |
template<template< typename...> typename Template, typename T > | |
constexpr bool | util::is_instance_of_v = is_instance_of<Template, T>::value |
template<typename T > | |
constexpr bool | util::is_STLarray_v = is_STLarray<T>::value |
A constant describing whether the specified type is a STL array. More... | |
template<typename T > | |
constexpr bool | util::is_reference_wrapper_v = is_reference_wrapper<T>::value |
A constant describing whether the specified type is a std::reference_wrapper . More... | |
template<typename T > | |
constexpr bool | util::is_unique_ptr_v = is_unique_ptr<T>::value |
A constant describing whether the specified type is a std::unique_ptr . More... | |
template<typename T > | |
constexpr bool | util::is_character_type_v = is_character_type<T>::value |
Whether type T is a character type (see util::is_character_type ). More... | |
template<typename T > | |
constexpr bool | util::is_string_type_v = is_string_type<T>::value |
Whether type T is a character string type (see util::is_string_type ). More... | |
template<typename T > | |
constexpr bool | util::is_basic_string_type_v = is_basic_string_type<T>::value |
template<typename T > | |
constexpr bool | util::is_basic_string_view_type_v = is_basic_string_view_type<T>::value |
Traits to identify specific types.
using util::is_reference_wrapper = typedef is_instance_of<std::reference_wrapper, T> |
Identifies whether the specified type is a std::reference_wrapper
.
T | the type to be tested |
util::is_reference_wrapper_v
Definition at line 402 of file MetaUtils.h.
using util::is_unique_ptr = typedef is_instance_of<std::unique_ptr, T> |
Identifies whether the specified type is a std::unique_ptr
.
T | the type to be tested |
util::is_unique_ptr_v
Definition at line 421 of file MetaUtils.h.
constexpr bool util::is_basic_string_type_v = is_basic_string_type<T>::value |
Whether type T
is a character string type (see util::is_basic_string_type
).
Definition at line 483 of file MetaUtils.h.
constexpr bool util::is_basic_string_view_type_v = is_basic_string_view_type<T>::value |
Whether type T
is a character string type (see util::is_basic_string_view_type
).
Definition at line 501 of file MetaUtils.h.
constexpr bool util::is_character_type_v = is_character_type<T>::value |
Whether type T
is a character type (see util::is_character_type
).
Definition at line 447 of file MetaUtils.h.
constexpr bool util::is_instance_of_v = is_instance_of<Template, T>::value |
A constant describing whether T
is a template instance of Template
.
util::is_instance_of
Definition at line 374 of file MetaUtils.h.
constexpr bool util::is_reference_wrapper_v = is_reference_wrapper<T>::value |
A constant describing whether the specified type is a std::reference_wrapper
.
T | the type to be tested |
util::is_reference_wrapper
Definition at line 411 of file MetaUtils.h.
constexpr bool util::is_STLarray_v = is_STLarray<T>::value |
A constant describing whether the specified type is a STL array.
T | the type to be tested |
util::is_STLarray
Definition at line 392 of file MetaUtils.h.
constexpr bool util::is_string_type_v = is_string_type<T>::value |
Whether type T
is a character string type (see util::is_string_type
).
Definition at line 466 of file MetaUtils.h.
constexpr bool util::is_unique_ptr_v = is_unique_ptr<T>::value |
A constant describing whether the specified type is a std::unique_ptr
.
T | the type to be tested |
util::is_unique_ptr
Definition at line 430 of file MetaUtils.h.