summaryrefslogtreecommitdiff
path: root/cli/options.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'cli/options.ixx')
-rw-r--r--cli/options.ixx20
1 files changed, 20 insertions, 0 deletions
diff --git a/cli/options.ixx b/cli/options.ixx
index 60afbda..6fcc80f 100644
--- a/cli/options.ixx
+++ b/cli/options.ixx
@@ -83,6 +83,26 @@ namespace cli
{
return value_;
}
+
+ // argv_scanner
+ //
+ inline argv_scanner::
+ argv_scanner (int argc, char** argv)
+ : i_ (1), argc_ (argc), argv_ (argv)
+ {
+ }
+
+ inline argv_scanner::
+ argv_scanner (int start, int argc, char** argv)
+ : i_ (start), argc_ (argc), argv_ (argv)
+ {
+ }
+
+ inline int argv_scanner::
+ end () const
+ {
+ return i_;
+ }
}
// options