Subject: Re: [boost] [Library idea] Type-safe Flagsets
From: Gavin Lambert (gavinl_at_[hidden])
Date: 2018-06-26 23:37:20
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk