https://github.com/Sirraide commented:

In my experience, it’s usually easier to abuse enums for this, i.e.
```c++
enum class Bytes : unsigned;
enum class Columns : unsigned;
```
and then define additional operators as needed.

https://github.com/llvm/llvm-project/pull/165541
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to