Hello, for the integer wraps used for flags I have a third proposition, a working example is attached: * "enum class DisplayOption" for the individual flags * "class DisplayOptions" with an implicit converter DisplayOption -> DisplayOptions So we get an enum for the single options and avoid the old enum-style. Diether
Attachment:
test_enum.cpp
Description: Text Data
Attachment:
pgpAChRYSFVJD.pgp
Description: Digitale Signatur von OpenPGP