absl::ThrowStdOutOfRange

Throws a std::out_of_range with the given message, or terminates if exceptions are disabled.

Synopses

Declared in <absl/base/throw_delegate.h>

Throws a std::out_of_range with the given message, or terminates if exceptions are disabled.

[[noreturn]]
void
ThrowStdOutOfRange(std::string const& what_arg);
» more...

Throws a std::out_of_range with the given message, or terminates if exceptions are disabled.

[[noreturn]]
void
ThrowStdOutOfRange(char const* what_arg);
» more...

Return Value

NOTE

This function does not return.

Parameters

NameDescription
what_argThe exception message.