template<typename S>
class arg_router::policy::none_name_t< S >
Represents the name of a node that does not use any token prefix (i.e. parsing::prefix_type == none).
The only node that uses this in the library is mode_t.
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::none_name<
S_(
"hello")>;
constexpr auto b = ar::policy::none_name_t{"hello"_S};
- Note
- Display names must not be empty
- Template Parameters
-
Definition at line 26 of file none_name.hpp.