Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: e32cmn.h

Class TRefByValue

class TRefByValue;

Description

A templated class which encapsulates a reference to an object within a wrapper.

The wrapper object can be passed to a function as a value type. This allows a reference to be passed to a function as a value type.

This wrapper object is commonly termed a value reference.

Members

Defined in TRefByValue:
TRefByValue(), operator T &()


Construction and destruction


TRefByValue()

inline TRefByValue(T &aRef);

Description

Constructs this value reference for the specified referenced object.

Parameters

T &aRef

The referenced object.

[Top]


Member functions


operator T &()

inline operator T &();

Description

Gets a reference to the object encapsulated inside this value reference.

Return value