Re:Chromium project finds that 70% of security defects are m...
by logicchains on Sunday May 24, 2020 @02:56AM
(#23289710)
Ah, that sucks. I don't think there's a solution to that apart from just adding an "Invalid" field to every enum class and initialising to that, but checking for that (asserting not invalid) adds ugly boilerplate to every usage of every enum.
[ Parent
| on HN ]