Commit c83c078b authored by Gauthier Quesnel's avatar Gauthier Quesnel
Browse files

core: add status size function

parent a76c546a
......@@ -187,6 +187,12 @@ enum class status
io_file_format_dynamics_init_error
};
constexpr size_t
status_size() noexcept
{
return static_cast<int>(status::io_file_format_dynamics_init_error) + 1;
}
constexpr bool
is_success(status s) noexcept
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment