Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   Inline Variables Type Inference And Reference Counted Classes (https://www.delphipraxis.net/200142-inline-variables-type-inference-reference-counted-classes.html)

DP News-Robot 23. Mär 2019 16:00

Inline Variables Type Inference And Reference Counted Classes
 
There are two (OK, three) features I have been eagerly waiting for in Delphi.
  1. The ability to have multiple class helpers (aka extension methods) in scope
  2. Inline variables and (3.) type inference
While I will have to wait some more for the former, Delphi Rio introduced the latter, making me a very happy camper.

But it is not all perfect. Type inference does not work on reference counted classes. Or rather, it does work, but it breaks reference counting.


Weiterlesen...


Alle Zeitangaben in WEZ +1. Es ist jetzt 20:12 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz