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 cout << "Argument class do not understand string values\n";
30 int cmp = strcmp(test.c_str(), VALUE);
33 cout << "Argument class handles string values\n";
37 cout << "Argument class do not handle string values\n";