Vote UpVote

A while ago Allen Bauer commented on the working theory of Nullable in Delphi

The Wiert Corner – I missed this last May, but revisiting some old G+ posts I saw Allen Bauer commenting: Current working theory of Nullable<T>. Nullable<T> = record ... property Value: T read FValue; default; ... end; Using the default directive to “hoist” the operators of “T”. Currently the default directive only works for array properties by “hoisting” the ‘[]’ operator. Marking a non-array property with default will make the containing type behave as that type. This, coupled with some intrinsic compiler knowledge of the Nullable<T> type will ...
Favorite? Off-Topic? jpluimers @ 2015-09-25 13:00


Visits: 1148
Votes: 2
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Yogi Yang
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


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