Template Class ValueExtractor

Class Documentation

template<class T>
class ValueExtractor

TClap class internally used for extracting value args.

This class is used to extract a value from an argument. It is used because we need a special implementation to deal with std::string and making a specialiced function puts it in the T segment, thus generating link errors. Having a specialiced class makes the symbols weak. This is not pretty but I don’t know how to make it work any other way.