Skip to content

Dynamic program name deduction support - #111

Merged
SpectraL519 merged 4 commits into
cpp-argon-v5from
dyn-prog-name
Sep 24, 2026
Merged

SpectraL519 merged 4 commits into
cpp-argon-v5from
dyn-prog-name

Conversation

@SpectraL519

@SpectraL519 SpectraL519 commented Sep 24, 2026 •

Copy link
Copy Markdown
Owner
  • Introduced a new dynamic_name_t tag type and a constexpr dynamic_name constant
  • Extended the argument_parser class with a new constructor accepting the dynamic name tag
    • If the dynamic_name_t is used for the parser's initialization, then its name will be deduced from argv[0] during parsing
    • The range-based parsing functions now throw if the parser's name is not resolved

Comment thread docs/tutorial.md Outdated
Comment thread include/argon/types.hpp Outdated

@SpectraL519 SpectraL519 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@SpectraL519
SpectraL519 merged commit 9f75ca2 into cpp-argon-v5 Sep 24, 2026
9 checks passed
@SpectraL519
SpectraL519 deleted the dyn-prog-name branch September 24, 2026 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant