diff -r 48780e181b38 -r 578be2adaf3e Symbian3/PDK/Source/GUID-386FD0B9-D502-577C-BED2-5F31D9CA67CC.dita --- a/Symbian3/PDK/Source/GUID-386FD0B9-D502-577C-BED2-5F31D9CA67CC.dita Tue Jul 20 12:00:49 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-386FD0B9-D502-577C-BED2-5F31D9CA67CC.dita Fri Aug 13 16:47:46 2010 +0100 @@ -1,26 +1,26 @@ - - - - - -Using TSwizzle operators
Using the conversion to T* operator

In the following code fragment, the compiler invokes the T*() operator (because a pointer is required) for the TSwizzle<CClassB> object iB, before calling delete.

CClassABC::~CClassABC() - { - ... - if (iB.IsPtr()) - delete iB; - }
Using the indirection operator

In the following code fragment, the *() operator returns a reference to the CClassB object represented by the swizzle TSwizzle<CClassB> object, iB.

TStreamId CClassABC::StoreL() - { - ... - outstream << *iB; - ... - }
Using the indirect component selector

In the following code fragment, the operator -> gives access to the member iFixBuf of the CClassB object which is represented by the TSwizzle<CClassB> swizzle, iB.

void CClassABC::ConstructB(...,...,...,...) - { - iB->iFixBuf = aData; - ... + + + + + +Using TSwizzle operators
Using the conversion to T* operator

In the following code fragment, the compiler invokes the T*() operator (because a pointer is required) for the TSwizzle<CClassB> object iB, before calling delete.

CClassABC::~CClassABC() + { + ... + if (iB.IsPtr()) + delete iB; + }
Using the indirection operator

In the following code fragment, the *() operator returns a reference to the CClassB object represented by the swizzle TSwizzle<CClassB> object, iB.

TStreamId CClassABC::StoreL() + { + ... + outstream << *iB; + ... + }
Using the indirect component selector

In the following code fragment, the operator -> gives access to the member iFixBuf of the CClassB object which is represented by the TSwizzle<CClassB> swizzle, iB.

void CClassABC::ConstructB(...,...,...,...) + { + iB->iFixBuf = aData; + ... }
\ No newline at end of file