EnTT: src/entt/meta/type_traits.hpp Source File

EnTT 3.16.0

Loading...
Searching...
No Matches
type_traits.hpp
1#ifndef ENTT_META_TYPE_TRAITS_HPP
2#define ENTT_META_TYPE_TRAITS_HPP
3
4#include <type_traits>
5#include <utility>
6
7namespace entt {
8
13template<typename>
14 struct meta_template_traits;
15
20template<typename>
21 struct meta_sequence_container_traits;
22
27template<typename>
28 struct meta_associative_container_traits;
29
34template<typename, typename = void>
35 struct is_meta_pointer_like: std::false_type {};
36
42template<typename Type>
43 struct is_meta_pointer_like<const Type>: is_meta_pointer_like<Type> {};
44
49template<typename Type>
50 inline constexpr auto is_meta_pointer_like_v = is_meta_pointer_like<Type>::value;
51
52} // namespace entt
53
54#endif
entt
EnTT default namespace.
Definition dense_map.hpp:22
entt::is_meta_pointer_like_v
constexpr auto is_meta_pointer_like_v
Helper variable template.
Definition type_traits.hpp:50
entt::is_meta_pointer_like
Provides the member constant value to true if a given type is a pointer-like type from the point of v...
Definition type_traits.hpp:35
entt::meta_associative_container_traits
Traits class template to be specialized to enable support for meta associative containers.
Definition type_traits.hpp:28
entt::meta_sequence_container_traits
Traits class template to be specialized to enable support for meta sequence containers.
Definition type_traits.hpp:21
entt::meta_template_traits
Traits class template to be specialized to enable support for meta template information.
Definition type_traits.hpp:14