EntityComponentMetaSystem
An implementation of an EntityComponent System with template meta-programming.
Loading...
Searching...
No Matches
TypeList.hpp
1
2// This work derives from Vittorio Romeo's code used for cppcon 2015 licensed
3// under the Academic Free License.
4// His code is available here: https://github.com/SuperV1234/cppcon2015
5
6
7#ifndef EC_META_TYPE_LIST_HPP
8#define EC_META_TYPE_LIST_HPP
9
10namespace EC
11{
12 namespace Meta
13 {
14 template <typename... Types>
15 struct TypeList
16 {
17 static constexpr std::size_t size{sizeof...(Types)};
18 };
19 }
20}
21
22#endif
23
Definition TypeList.hpp:16