Macro assert2::debug_assert [−][src]
Assert that an expression evaluates to true or matches a pattern.
This macro supports the same checks as assert
, but they are only executed if debug assertions are enabled.
As with std::debug_assert
,
the expression is still type checked if debug assertions are disabled.