meso: use BitPack

This commit is contained in:
Michael Scire committed 2020-01-02 03:30:10 -08:00
1 parent 0d8bde6079
commit 43c0e39c34
3 files changed
+23 -16

No files matched your search

@@ -50,7 +50,7 @@ namespace ams::util {
using BitPackType = BitPack<IntegralStorageType>;
static_assert(Mask<Index, Count> != 0);
static_assert(std::is_integral<T>::value);
static_assert(std::is_integral<T>::value || std::is_enum<T>::value);
static_assert(!std::is_same<T, bool>::value || Count == 1);
};
private: