Template specialization for pre-declared program parameter without value. More...
#include <eagine/program_args.hpp>
Public Member Functions | |
| program_parameter (string_view short_tag, string_view long_tag) noexcept | |
| Construction from the short and long tag strings. | |
Public Member Functions inherited from eagine::basic_program_parameter | |
| constexpr auto | short_tag () const noexcept -> string_view |
| Get the short tag string for this parameter. | |
| constexpr auto | long_tag () const noexcept -> string_view |
| Get the long tag string for this parameter. | |
| constexpr auto | description () const noexcept -> string_view |
| Returns a human-readable description for this program parameter. | |
| constexpr auto | description (string_view help_str) noexcept -> auto & |
| Specifies a human-readable description for this program parameter. | |
Template specialization for pre-declared program parameter without value.
This specialization instead of containing an initial or parsed parameter value holds the count of times the parameter appeared in the command-line argument list.