kaycxx-assert
C++ assertion library
Loading...
Searching...
No Matches
assert_greater_or_equal

Asserts that the actual value is greater than or equal to the expected value.

The value type must provide a complete ordering. Raw pointers are intentionally rejected because relational pointer operators compare addresses, not pointed-to values.

using namespace kaycxx::assert;
int main() {
assert_greater_or_equal(10, 10);
assert_greater_or_equal(11, 10);
}
Includes the complete public assertion API.
Assertion functions and related types.
Definition assert.hpp:15

Use this when equality is also acceptable.