|
SAT Solver Template
|
Contains Command Line Interface parsing utility. More...
#include <span>#include <stdexcept>#include <string>#include <concepts>#include <iostream>#include "concepts.hpp"
Go to the source code of this file.
Classes | |
| struct | cli::Switch |
| Argument specification for switch arguments. More... | |
| struct | cli::ValueArg< T > |
| Argument specification for value arguments. More... | |
| struct | cli::detail::TypeParse< T > |
| struct | cli::detail::TypeParse< float > |
| struct | cli::detail::TypeParse< double > |
| struct | cli::detail::TypeParse< T > |
Concepts | |
| concept | cli::detail::arg |
Functions | |
| std::string | cli::parse (int argc, char *argv[]) |
| template<detail::arg Option, detail::arg ... Options> | |
| std::string | cli::parse (int argc, char *argv[], const Option &option, const Options &... rest) |
Contains Command Line Interface parsing utility.
|
inline |
Parser function.
| argc | |
| argv |
| std::string cli::parse | ( | int | argc, |
| char * | argv[], | ||
| const Option & | option, | ||
| const Options &... | rest | ||
| ) |
Compiletime recursive parse method
| Option | |
| Options |
| argc | |
| argv | |
| option | |
| rest |