enumflags2 icon indicating copy to clipboard operation
enumflags2 copied to clipboard

Release 1.0 — the plan

Open meithecatte opened this issue 4 years ago • 2 comments

The only thing I'd change about this library is the way const fn support is handled — once const fn traits get stabilized, I'll be able to remove a lot of workarounds.

This will obviously involve bumping the MSRV, so I'll also switch to the recently stabilized panic! in const contexts for static assertions — I don't think a MSRV bump is warranted just for error message quality.

meithecatte avatar Dec 14 '21 03:12 meithecatte

Hi,how about this implemention? no new type(BitFlags in this repo) reqired.😂

mokeyish avatar Feb 25 '22 16:02 mokeyish

I consider the type-level distinction between "a flag" and "a set of flags" to be a feature.

Moreover, your approach wastes space and is useless for any kind of interop or FFI.

meithecatte avatar Feb 26 '22 12:02 meithecatte