Add program_options example with a generic custom validator for enums#16
Add program_options example with a generic custom validator for enums#16sdebionne wants to merge 3 commits intoboostorg:developfrom
Conversation
|
Maybe update this to use enum_from_string and enum_to_string? |
|
Also, the op<< overload for described enums probably belongs to operators.hpp? |
|
Indeed, this PR needs an update... I have more of these kind of examples (e.g. integration with fmt::format, pybind11...), do you think it's worth merging them to your repos? |
|
I already added fmtlib examples. |
AFAIU, |
|
Yes, but we can add an |
66a650a to
65da24f
Compare
|
I think an overload of |
An example that shows how to support
enums as options with Boost.ProgamOptions.