26 Jun
2018
26 Jun
'18
11:37 p.m.
On 27/06/2018 01:41, degski wrote:
Once one has adopted the idea of "flags" to possibly not exist, i.e. not to be either true or false, a natural extension is to adopt "fuzzy flags" as well, i.e. use floats. Some bike-shedding: I think the word flags is not sufficiently general.
At this point you've sufficiently departed the "bitwise operations" model to make it fairly meaningless. You'd probably be better served with a regular structure or with Boost.ProgramOptions instead.