EnTT  3.10.0
utility.hpp
1 #ifndef ENTT_ENTITY_UTILITY_HPP
2 #define ENTT_ENTITY_UTILITY_HPP
3 
4 #include "../core/type_traits.hpp"
5 
6 namespace entt {
7 
12 template<typename... Type>
13 struct exclude_t: type_list<Type...> {};
14 
19 template<typename... Type>
20 inline constexpr exclude_t<Type...> exclude{};
21 
26 template<typename... Type>
27 struct get_t: type_list<Type...> {};
28 
33 template<typename... Type>
34 inline constexpr get_t<Type...> get{};
35 
40 template<typename... Type>
41 struct owned_t: type_list<Type...> {};
42 
47 template<typename... Type>
48 inline constexpr owned_t<Type...> owned{};
49 
50 } // namespace entt
51 
52 #endif
EnTT default namespace.
Definition: dense_map.hpp:22
constexpr exclude_t< Type... > exclude
Variable template for exclusion lists.
Definition: utility.hpp:20
constexpr get_t< Type... > get
Variable template for lists of observed components.
Definition: utility.hpp:34
constexpr owned_t< Type... > owned
Variable template for lists of owned components.
Definition: utility.hpp:48
Alias for exclusion lists.
Definition: utility.hpp:13
Alias for lists of observed components.
Definition: utility.hpp:27
Alias for lists of owned components.
Definition: utility.hpp:41
A class to use to push around lists of types, nothing more.