-
Notifications
You must be signed in to change notification settings - Fork 97
Open
Description
add_param takes a std::string as an input, and add_params a std::initializer_list<char const* const>.
However it is easy to forget the final 's' or add an extra 's', and not realizing where the error comes from even after carefully reading the compilation error message. A missing/extra 's' is something easy to skip while reading the error message.
Why not having add_param and add_params taking both kind of parameters, or removing one function? The latter is certainly clearner but will brake some projects using the deleted function.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels