0
votes
Vote UpVote

Use operator overloading for classes with non-ARC compiler · GitHub

The Wiert Corner – [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: [WayBack] 『*[Delphi]』の検索結果 – 全力わはー (in Japanese; from the guy that discovered it) and blogged about it: [WayBack] Use operator ...
Favorite? Off-Topic? jpluimers @ 2017-11-23 12:05

Statistics

Visits: 11533
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)