mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-22 02:45:07 -04:00
meso: use BitPack
This commit is contained in:
parent
0d8bde6079
commit
43c0e39c34
3 changed files with 23 additions and 16 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue