News for hackers. Stuff that matters.
Re:What =delete means by BenFrantzDale on Monday October 18, 2021 @10:33PM (#28914256)
I’m a big fan of `enum class IsFoo : bool { no, yes };`. I find it to be a great balance between type safety and conciseness. If you want your own unique Boolean-like type, that one line is all you need (unless you want operators, etc.)

There are no comments on this comment yet.