nw::RuleFlag
-
template<typename T, size_t N = 64>
struct RuleFlag : private std::bitset<64>
Public Types
-
using Base = std::bitset<N>
Public Functions
-
constexpr RuleFlag() = default
-
inline constexpr RuleFlag(unsigned long long val) noexcept
-
inline RuleFlag(T val) noexcept
-
inline explicit RuleFlag(StringView str)
-
inline bool operator[](T pos) const
-
inline RuleFlag &flip(T pos)
-
inline RuleFlag &reset(T pos)
-
inline RuleFlag &set(T pos, bool value = true)
-
inline bool test(T pos) const