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.)
[ Parent
| on HN ]
There are no comments on this comment yet.