|
ID: 26916, Nullable Types with Generics from Delphi Live! 2009
Using generics to create nullable types with Delphi 2009 or better. Includes examples of casting to and from generic types, operator overloading, explicit and implicit type casting.
|
Download
| Details
|
|
FTP
download also available
|
|
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
|
To download this, you must have registered:
|
For Delphi, Version 12.0
to 12.0
273 downloads
Copyright: No significant restrictions
Size: 5,499 bytes
Updated on Mon, 25 May 2009 23:22:33 GMT
Originally uploaded on Mon, 25 May 2009 23:22:32 GMT
SHA1 Hash: E4FFF8E408BA53D0DFC0CFD89E626A764B1EC3C8
MD5 Hash: 64356DA3D7C6109C8E19F394F6D34A53
|
Explore the files in this upload
File Exploration is Disabled
We're sorry, but errors in the uploaded zip file prevent it from being explored.
The error generated by the Zip attachment is:
You may still be able to repair the zip file contents if you download the entire zip locally. You may also want to ask the author to repost the attachment.
|
Description
|
Nullable Types with Generics from Delphi Live! 2009
----------------------------------------------------
Example of nullable types using records, operator overloading and generics. Requires Delphi 2009 or better. Includes examples of casting to and from generic types, operator overloading, explicit and implicit type casting.
NullableInt32s.pas Nullable type for 32-bit Integers
NullableTypes.pas Generic nullable type example
TestNullableInt32s.pas Unit test for NullableInt32s.pas
TestNullableTypes.pas Unit test for TestNullableTypes.pas
Generics.Casts.pas Generic casting example by Andreas Hausladen
More information about a different implementation of generic nullable types:
http://blogs.embarcadero.com/abauer/2008/09/18/38869
Also check out Jeroen Pluimers' blog and CodeRage 3 Sessions on nullable types (without generics):
http://wiert.wordpress.com/ - blog
http://cc.embarcadero.com/Item/26326 – Code framework
http://cc.embarcadero.com/item/26416 – Video replay of session
|
|

Server Response from: ETNACDC04
|
Connect with Us