Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
Loading...
Searching...
No Matches
TRefByValue< T > Class Template Reference

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

#include <e32cmn.h>

Public Member Functions

 TRefByValue (T &aRef)
 Constructs this value reference for the specified referenced object.
 
 operator T& ()
 Gets a reference to the object encapsulated inside this value reference.
 

Detailed Description

template<class T>
class TRefByValue< T >

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.

API status
Published to all clients. Released API.

Definition at line 435 of file e32cmn.h.

Constructor & Destructor Documentation

◆ TRefByValue()

template<class T >
TRefByValue< T >::TRefByValue ( T &  aRef)
inline

Constructs this value reference for the specified referenced object.

Parameters
aRefThe referenced object.

(generated from Symbian Developer Library)

Member Function Documentation

◆ operator T&()

template<class T >
TRefByValue< T >::operator T& ( )
inline

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

(generated from Symbian Developer Library)


The documentation for this class was generated from the following files: