Example:
auto all = boolMask(true); // matches everything
auto none = boolMask(false); // matches nothingCreates a boolean mask that always returns the same value.
value | true to match everything, false to match nothing |
Example:
auto all = boolMask(true); // matches everything
auto none = boolMask(false); // matches nothing