diff -r 48780e181b38 -r 578be2adaf3e Symbian3/PDK/Source/GUID-FF0330E8-81CA-52F3-AD60-89360B74B25D.dita --- a/Symbian3/PDK/Source/GUID-FF0330E8-81CA-52F3-AD60-89360B74B25D.dita Tue Jul 20 12:00:49 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-FF0330E8-81CA-52F3-AD60-89360B74B25D.dita Fri Aug 13 16:47:46 2010 +0100 @@ -1,38 +1,38 @@ - - - - - -Using -CArrayVar<TAny>The CArrayVar<TAny> class is useful for constructing -an array of variable length buffers, where the length is decided at run time. -
Arrays whose type is not known until class instantiation

The CArrayVar<TAny> class -is useful for constructing an array of variable length buffers, where the -length is decided at run time. It is also useful as a data member of a base -class in a thin template class/base class pair,where the type of the array -element is not known until the owning thin template class is instantiated.

For -example, to implement a stack of variable length objects of type T.

class CExampleBase : public CBase - { -public : - ... -protected : - ... - void PushL(const TAny* aPtr); - TAny* Pop(); -private : - CArrayVar<TAny> iArray; - } template <class T> -class CExample : public CExampleBase - { -public : - ... - inline void PushL(const T* aPtr); - inline T* Pop(); - }
+ + + + + +Using +CArrayVar<TAny>The CArrayVar<TAny> class is useful for constructing +an array of variable length buffers, where the length is decided at run time. +
Arrays whose type is not known until class instantiation

The CArrayVar<TAny> class +is useful for constructing an array of variable length buffers, where the +length is decided at run time. It is also useful as a data member of a base +class in a thin template class/base class pair,where the type of the array +element is not known until the owning thin template class is instantiated.

For +example, to implement a stack of variable length objects of type T.

class CExampleBase : public CBase + { +public : + ... +protected : + ... + void PushL(const TAny* aPtr); + TAny* Pop(); +private : + CArrayVar<TAny> iArray; + } template <class T> +class CExample : public CExampleBase + { +public : + ... + inline void PushL(const T* aPtr); + inline T* Pop(); + }
\ No newline at end of file