[WayBack] Use operator overloading for classes with non-ARC compiler · GitHub
The trick: do not use class operator but use class function &&op_ with the special operator name in the table referenced below. Just follow the bulleted example links to get an idea.
Bonus: it works on class helper constructs as well.
Officially this unsupported and with the non-ARC compiler you will have a risk of memory leaks.
But it’s so much fun as these links prove:





