76template <
class T, MInt bits, MBool toggled = false>
78 static_assert(bits <=
sizeof(T) * 8);
83 static constexpr const MInt MAX = (1 << bits) - 1;
87 assert((
int)
sizeof(T) * 8 / bits > index);
92 assert((
int)
sizeof(T) * 8 / bits > index);
107template <MBool toggled = false>
109template <MBool toggled = false>
111template <MBool toggled = false>
MTXbit & operator&=(const MTXbit &rhs)
MInt get(const MInt index) const
MTXbit & operator|=(const MTXbit &rhs)
static constexpr const MInt MAX
void set(const MInt index, const MUint value)
constexpr MTXbit()=default
constexpr MTXbit(T val) noexcept
z { MString name MZone
define array structures
std::basic_string< char > MString