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/)
-   -   Static specifier and overriding class methods (https://www.delphipraxis.net/175932-static-specifier-overriding-class-methods.html)

DP News-Robot 30. Jul 2013 12:10

Static specifier and overriding class methods
 
I’ve encountered an interesting problem while overriding virtual class method. Consider the next program: program Project1; {$APPTYPE CONSOLE} uses SysUtils; type TBase = class class function GetName: string; virtual; class procedure Test; static; end; TChild = ...http://feeds.feedburner.com/~r/delph...~4/eXazjK0tmTc

More...


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

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