#ifndef EC_BITSET_HPP #define EC_BITSET_HPP #include #include "Meta/TypeList.hpp" #include "Meta/Combine.hpp" namespace EC { template struct Bitset : public std::bitset { using Combined = EC::Meta::Combine; template constexpr auto getComponentBit() { return (*this)[EC::Meta::IndexOf::value]; } template constexpr auto getTagBit() { return (*this)[EC::Meta::IndexOf::value]; } }; } #endif