| 108 | |
| 109 | template <typename T, typename... As> |
| 110 | inline T *CommandLineParser::add_positional_option(As &&...args) |
| 111 | { |
| 112 | _positional_options.emplace_back(std::make_unique<T>(std::forward<As>(args)...)); |
| 113 | return static_cast<T *>(_positional_options.back().get()); |
| 114 | } |
| 115 | |
| 116 | inline void CommandLineParser::parse(int argc, char **argv) |
| 117 | { |