template<typename S>
class arg_router::policy::short_name_t< S >
Represents the short name of a node.
Although this type only accepts a single UTF-8 character, the parser expects it (or the short name group it is a part of) to be preceded by the short prefix.
If using C++17 then use the template variable helper with the S_
macro or char; for C++20 and higher, use the char variable helper or the constructor directly with a compile-time string literal:
constexpr auto a = ar::policy::short_name<'h'>;
constexpr
auto b = ar::policy::short_name_utf8<
S_(
"h")>;
constexpr auto c = ar::policy::short_name_t{"h"_S};
- Template Parameters
-
Definition at line 28 of file short_name.hpp.