What's the point of unit structs

98 points SCD_minecraft 79 comments

I am not talking about `()`, that one is quite useful

I am talking about `struct Foo;` - why would i ever need to define my own 0B struct? Type system won't let you use it as flags or something like that