diff -r ebc84c812384 -r 46218c8b8afa Symbian3/PDK/Source/GUID-0EECEF02-EC6A-53D5-8B27-C0732DA0160A.dita --- a/Symbian3/PDK/Source/GUID-0EECEF02-EC6A-53D5-8B27-C0732DA0160A.dita Thu Mar 11 15:24:26 2010 +0000 +++ b/Symbian3/PDK/Source/GUID-0EECEF02-EC6A-53D5-8B27-C0732DA0160A.dita Thu Mar 11 18:02:22 2010 +0000 @@ -1,24 +1,24 @@ - - - - - -How to -replace a C++ array with a wrapperThis document shows briefly how to replace a C++ array with a Symbian -platform object. -

C++ arrays can always be replaced with a TFixedArray<class T,TInt -S>. For example:

-TChar iSeparators[EMaxSeparators]; -CCoeControl* iControls[ENumControls]; -

becomes:

-TFixedArray<TChar,EMaxSeparators> iSeparators; -TFixedArray<CCoeControl*,ENumControls> iControls; -

The contained class must have a default constructor. The array can -also be initialised from a C++ array (using a bitwise copy).

+ + + + + +How to +replace a C++ array with a wrapperThis document shows briefly how to replace a C++ array with a Symbian +platform object. +

C++ arrays can always be replaced with a TFixedArray<class T,TInt +S>. For example:

+TChar iSeparators[EMaxSeparators]; +CCoeControl* iControls[ENumControls]; +

becomes:

+TFixedArray<TChar,EMaxSeparators> iSeparators; +TFixedArray<CCoeControl*,ENumControls> iControls; +

The contained class must have a default constructor. The array can +also be initialised from a C++ array (using a bitwise copy).

\ No newline at end of file