summaryrefslogtreecommitdiffstats
path: root/Source/cmArgumentParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmArgumentParser.h')
-rw-r--r--Source/cmArgumentParser.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmArgumentParser.h b/Source/cmArgumentParser.h
index 8be5a9c..2f0a76d 100644
--- a/Source/cmArgumentParser.h
+++ b/Source/cmArgumentParser.h
@@ -14,6 +14,8 @@
#include <cm/string_view>
#include <cmext/string_view>
+#include "cmArgumentParserTypes.h" // IWYU pragma: keep
+
namespace ArgumentParser {
class Instance;
@@ -37,7 +39,8 @@ public:
void Bind(bool& val);
void Bind(std::string& val);
- void Bind(std::vector<std::string>& val);
+ void Bind(MaybeEmpty<std::vector<std::string>>& val);
+ void Bind(NonEmpty<std::vector<std::string>>& val);
void Bind(std::vector<std::vector<std::string>>& val);
// cm::optional<> records the presence the keyword to which it binds.