TRefByValue Class Reference
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.
Private Attributes |
---|
T & | iRef |
Constructor & Destructor Documentation
TRefByValue(T &)
TRefByValue | ( | T & | aRef | ) | [inline] |
Constructs this value reference for the specified referenced object.
Parameters
T & aRef | The referenced object. |
Member Functions Documentation
operator T &()
Gets a reference to the object encapsulated inside this value reference.
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.