Skip to content

Parse of std::vector says vector should be reversed? #951

Answered by phlptp
JohnBasrai asked this question in Q&A
Discussion options

You must be logged in to vote

Take a look at
https://github.com/CLIUtils/CLI11/blob/main/tests/app_helper.hpp

This is what is used in most of the tests, put all the arguments in a vector and reverse them, and call the vector parse method.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JohnBasrai
Comment options

Answer selected by JohnBasrai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants