mercredi 26 juillet 2017

check::assert_parameters for dynamic parameter input

I have a simple assert_parameters check for argument count. It goes something like this:

check::assert_parameters(argc, {"arg1", "arg2"});

Now, I want to add some optional parameters. How do I go about doing this?

Aucun commentaire:

Enregistrer un commentaire