Assert range isn't empty.
Unittest functions which give out a message with the failing expression.
Common mispelling.
Assert range isn't empty.
Common mispelling.
Export all enum members as aliases. This allows enums to be used as types and allows its members to be used as if they're defined in module scope.
Verify that calling expr throws and contains the exception message msg.
Return string representation of argument. If argument is already a string or a character, enquote it to make it more readable.
Return the exception of type Exc that is expected to be thrown when expr is evaluated.
Return the exception message of an exception. If no exception was thrown, then a new exception is thrown to notify the user of the missing exception.
Similar to enforce, except it can take a formatting string as the second argument. Note: Until Issue 8687 is fixed, file and line have to be compile-time arguments, which might create template bloat.
Export all enum members as aliases. This allows enums to be used as types and allows its members to be used as if they're defined in module scope.
Useful template to generate an assert check function
An overload of enforceEx which allows constructing the exception with the arguments its ctor supports. The ctor's last parameters must be a string (file) and size_t (line).