Closed numeredev closed 1 year ago
Implements necessary changes for #65
Reviewers: @numere-org/maintainers
StringArg StringVector::getArg(size_t i) const
getkeyval()
Here's some code for testing:
kv{} = {"k1", 1, "k2", 2}; getkeyval(kv{}, "k1") getkeyval(kv{}, "k") getkeyval(kv{}, "k", "")
SUMMARY
Implements necessary changes for #65
Reviewers: @numere-org/maintainers
IMPLEMENTATION
StringArg StringVector::getArg(size_t i) const
to always return an empty string in case of a missing argument.getkeyval()
without the third parameter and the result was as intended.DOCUMENTATION
TESTS BY REVIEWERS