getAs - 2025.2 English

Vitis Libraries

Release Date
2025-12-17
Version
2025.2 English
template <typename T>
T getAs (const std::string name) const

get value of option by name without leading dash. Either short or long option name can be used. Example: p.getAs<int>(“longopt”);