Current progress
This commit is contained in:
@@ -49,6 +49,10 @@ namespace JabyEngine {
|
||||
constexpr BitRangeValue<T> with(T value) const {
|
||||
return {value, this->begin, this->length};
|
||||
}
|
||||
|
||||
constexpr BitRangeValue<T> max() const {
|
||||
return BitRange<T>::with((1 << this->length) - 1);
|
||||
}
|
||||
};
|
||||
|
||||
template<typename T>
|
||||
|
Reference in New Issue
Block a user