7 using namespace command;
9 #define VALUE "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
11 typedef std::string ArgumentType;
15 void function(ArgumentType value) {
20 Argument<ArgumentType> argument("Argument as string", function);
22 if (argument.understand(VALUE)) {
26 int cmp = strcmp(test.c_str(), VALUE);
29 cout << "Argument class handles string values\n";
33 cout << "Argument class do not handle string values\n";