diff -r 43e37759235e -r 51a74ef9ed63 Symbian3/SDK/Source/GUID-F9FCE3FC-42E4-5E9E-9AFC-A9B02E2612A2.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-F9FCE3FC-42E4-5E9E-9AFC-A9B02E2612A2.dita Wed Mar 31 11:11:55 2010 +0100 @@ -0,0 +1,27 @@ + + + + + +Using +TRefByValue<class T> ClassThis document describes how to use the TRefByValue<class T> +class. +

Functions which take a variable number of arguments, such as TDes8::Format(), +always take the first parameter as a value reference.

+

For example, the function TDes8::Format() is prototyped +as:

+void Format(TRefByValue<const TDesC8> aFmt,...); +

The first argument is a value reference for a const TDesC8 type. +Just pass a parameter of this type or a parameter that can be converted to +that type.

+_LIT(KFormat1,"%b %c %d %o %u %x"); +... +tgt.Format(KFormat1,65,65,65,65,65,65); +... +
\ No newline at end of file