Es gibt auch ein interessantes neues Sprachfeature in XE3: Record Helpers. Anders wie der Name suggeriert funktionieren diese aber auch für elementar Typen wie Strings, Integer, Arrays, Sets, ...
Es werden auch einige Helper für diverse Typen mitgeliefert:
Zitat von
http://theroadtodelphi.wordpress.com/2012/09/05/exploring-delphi-xe3-record-helpers-for-simple-types-system-sysutils-tstringhelper/:
Finally exist a few set of record helpers included in the
RTL code which you can use
System.Classes – TUInt32Helper = record helper for UInt32
System.SyncObjs – TCriticalSectionHelper = record helper for TRTLCriticalSection
System.SyncObjs – TConditionVariableHelper = record helper for TRTLConditionVariable
System.Mac.CFUtils – CFGregorianDateHelper = record helper for CFGregorianDate
System.SysUtils – TGuidHelper = record helper for TGUID
System – TSingleHelper = record helper for Single
System – TDoubleHelper = record helper for Double
System – TExtendedHelper = record helper for Extended
Winapi.D2D1 – D2DMatrix3x2FHelper = record helper for TD2DMatrix3X2F
Vcl.Themes – TElementMarginsHelper = record helper for TElementMargins