|
powerd++
0.4.4
|
Tests whether the given enum provides all the required definitions. More...
#include <Options.hpp>
Tests whether the given enum provides all the required definitions.
The Options<> template expects the provided enum to provide the following members:
| Member | Description |
|---|---|
| OPT_UNKNOWN | An undefined option (long or short) was encountered |
| OPT_NOOPT | The encountered command line argument is not an option |
| OPT_DASH | A single dash "-" was encountered |
| OPT_LDASH | Double dashes "--" were encountered |
| OPT_DONE | All command line arguments have been processed |
| OptionT | An enum or enum class representing the available options |
1.8.17