Skip to content

num::debug::get_preset

Defined in header <core/debug.hpp>

diagnostic_preset get_preset() noexcept;

The preset most recently requested.

Stored rather than derived from the level. Deriving it could not tell unsafe from production, which share a level, so set_preset(production) used to report back unsafe.