Argument scanner

revision 1303: argument scanners global extension namespace name changed

The argument scanner (the module smart/util/argscan) introduced a namespace named ArgScan in the global scope to support the exetension of user defined converters/setters.

We had to change the name of the namespace to fix a conflict situation with the local namespace smart::util::ArgScan.

So, to keep your code running, put all your set() functions in the ArgScanExt namespace instead of the ArgScan namespace.

Libsmart's argument scanner

So you are all enthusiastic users of getopt() and think this is a good way to parse command line arguments? Wait, Libsmart provides you with a more C++‘ish way to specify command line parsing using the smart/util/argscan module.

Syndicate content