Reports a constraint violation by terminating the program.

Synopsis

Declared in <mp‐units/utility/constrained.h>

[[noreturn]]
static
void
on_constraint_violation(std::string_view msg) noexcept;

Return Value

Note

This function does not return.

Parameters

Name

Description

msg

description of the violated constraint (unused; the program terminates regardless)

Created with MrDocs