Terminates the program by aborting; called by safe_int on overflow.

Synopsis

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

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

Return Value

Note

This function does not return.

Parameters

Name

Description

msg

description of the overflow condition (unused; the program aborts unconditionally)

Created with MrDocs