Y
Hacker News
new
|
ask
|
show
|
jobs
by
chabsf
2930 days ago
The fact that this relies on overloading an operator for every enum makes this a complete non-starter as is in any professional codebase unfortunately. That can be fixed with a trait type though.