3 ms·
> While fake operator overloading is a fun hack, you probably shouldn’t use it in production code. > But at the very least, fake operator overloading allows yo
by blubbi2 12y ago
> While fake operator overloading is a fun hack, you probably shouldn’t use it in production code.
> But at the very least, fake operator overloading allows you to impress your friends by unusual-looking code.
Couldn't agree more. Please, please don't use this in production.
Edit: Just wrote the following piece of code:
coors[0] = ~~cors[0];
Damn.