Date: Mon, 14 Oct 2024 10:44:28 -0700
On Sunday 13 October 2024 09:36:20 GMT-7 Sebastian Wittmeier via Std-Proposals
wrote:
> A command line is like a parameter to main, main should decide, whom to
> forward it to.
Is std::arguments modifiable? Because one of the main reasons for passing argc
& argv to libraries is to allow them to reorder the arguments and then remove
those that they've already parsed out of the list, so the application doesn't
see them at all.
This feature may not be in the first revision of the API, but there needs to be
a line of sight to having it.
wrote:
> A command line is like a parameter to main, main should decide, whom to
> forward it to.
Is std::arguments modifiable? Because one of the main reasons for passing argc
& argv to libraries is to allow them to reorder the arguments and then remove
those that they've already parsed out of the list, so the application doesn't
see them at all.
This feature may not be in the first revision of the API, but there needs to be
a line of sight to having it.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Principal Engineer - Intel DCAI Platform & System Engineering
Received on 2024-10-14 17:44:30