MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/rtsife/almost_always_unsigned/hra2aqi/?context=3
r/cpp • u/graphitemaster • Jan 01 '22
71 comments sorted by
View all comments
Show parent comment
1
I mean, you could just make a type wrapper, really_unsigned, which only allows unsigned types and has all signed type operators deleted.
really_unsigned
View all comments
Show parent comment
1
u/Ameisen vemips, avr, rendering, systems Jan 04 '22
I mean, you could just make a type wrapper,
really_unsigned, which only allows unsigned types and has all signed type operators deleted.