Neat little C++, templatized command line parser
I’m writing some toy apps that integrate with our libraries, and so I was looking for a good, Windows-compliant version of GNU Getopt. Cygwin has a version, but that ties me to the cygwin installation (I think…)
Anyway, Getopt is straight POSIX C, and googling around I found this C++ .h called TCLAP it’s well documented and implemented as inlines in the tclap/CmdLine.h. Seems very similar to the ruby ‘optparse’ module in spirit and implementation.