Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gauthier Quesnel
irritator
Commits
c83c078b
Commit
c83c078b
authored
Aug 20, 2020
by
Gauthier Quesnel
Browse files
core: add status size function
parent
a76c546a
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/include/irritator/core.hpp
View file @
c83c078b
...
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment