aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor C. Richberger <Taywee@gmx.com>2016-06-30 12:20:20 -0600
committerTaylor C. Richberger <Taywee@gmx.com>2016-06-30 12:20:20 -0600
commitc81b8df927d78af37aaa5f2ff889c03e39933ba6 (patch)
tree9ef79ad3482ed4043f8d43c053be2b9418137154
parentadd noexcept functionality (diff)
downloadargs.hxx-c81b8df927d78af37aaa5f2ff889c03e39933ba6.tar.xz
give a little bit of doxygenation
-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)