EnTT  3.5.0
utility.hpp
1 #ifndef ENTT_ENTITY_UTILITY_HPP
2 #define ENTT_ENTITY_UTILITY_HPP
3 
4 
5 #include "../core/type_traits.hpp"
6 
7 
8 namespace entt {
9 
10 
15 template<typename... Type>
16 struct exclude_t: type_list<Type...> {};
17 
18 
23 template<typename... Type>
24 inline constexpr exclude_t<Type...> exclude{};
25 
26 
31 template<typename... Type>
32 struct get_t: type_list<Type...>{};
33 
34 
39 template<typename... Type>
40 inline constexpr get_t<Type...> get{};
41 
42 
43 }
44 
45 
46 #endif
entt::exclude
constexpr exclude_t< Type... > exclude
Variable template for exclusion lists.
Definition: utility.hpp:24
entt::type_list
A class to use to push around lists of types, nothing more.
Definition: type_traits.hpp:77
entt::get
constexpr get_t< Type... > get
Variable template for lists of observed components.
Definition: utility.hpp:40
entt::exclude_t
Alias for exclusion lists.
Definition: utility.hpp:16
entt
EnTT default namespace.
Definition: algorithm.hpp:13
entt::get_t
Alias for lists of observed components.
Definition: utility.hpp:32