galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
galaxy::meta::is_bitset_flag Concept Reference

Makes sure a value is a valid value for a std::bitset. More...

#include <Concepts.hpp>

Concept definition

template<typename Type>
concept galaxy::meta::is_bitset_flag = requires(Type type) { Type::value >= 0 && Type::value <= 7 && std::is_same<decltype(Type::value), unsigned short>::value; }
Makes sure a value is a valid value for a std::bitset.
Definition Concepts.hpp:77

Detailed Description

Makes sure a value is a valid value for a std::bitset.

Must be an unsigned short between 0 and 7. i.e. 8 values.

Template Parameters
TypeType to test.

Definition at line 77 of file Concepts.hpp.