aboutsummaryrefslogtreecommitdiff
path: root/args.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'args.hxx')
-rw-r--r--args.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/args.hxx b/args.hxx
index 5f8dec8..39fbdea 100644
--- a/args.hxx
+++ b/args.hxx
@@ -146,6 +146,7 @@ namespace args
}
#ifdef ARGS_NOEXCEPT
+ /// Error class, for when ARGS_NOEXCEPT is defined
enum class Error
{
None,
@@ -375,6 +376,7 @@ namespace args
bool matched;
const std::string help;
#ifdef ARGS_NOEXCEPT
+ /// Only for ARGS_NOEXCEPT
Error error;
#endif
@@ -408,6 +410,7 @@ namespace args
}
#ifdef ARGS_NOEXCEPT
+ /// Only for ARGS_NOEXCEPT
virtual Error GetError() const
{
return error;
@@ -760,6 +763,7 @@ namespace args
}
#ifdef ARGS_NOEXCEPT
+ /// Only for ARGS_NOEXCEPT
virtual Error GetError() const override
{
if (error != Error::None)