template<typename S>
class arg_router::policy::program_name_t< S >
Represents the program name.
Used by help nodes to produce their output, though in principle can be used by anything that wants to.
If using C++17 then use the template variable helper with the S_
macro; for C++20 and higher, use the constructor directly with a compile-time string literal:
constexpr
auto a = ar::policy::program_name<
S_(
"hello")>;
constexpr auto b = ar::policy::program_name_t{"hello"_S};
- Note
- Names must be greater than one character and cannot contain any whitespace characters
- Template Parameters
-
Definition at line 26 of file program_name.hpp.