![]() SourcePro C++ 13.0 |
SourcePro® C++ API Reference Guide |
Product Documentation: SourcePro C++ Documentation Home |
Stores a reference to an object. More...
#include <rw/tools/refwrap.h>
Public Member Functions | |
| RWTReferenceWrapper (T &ref) | |
| RWTReferenceWrapper (const RWTReferenceWrapper &rhs) | |
| operator T & () const | |
| RWTReferenceWrapper & | operator= (const RWTReferenceWrapper &rhs) |
Related Functions | |
(Note that these are not member functions.) | |
| template<typename T > | |
| RWTReferenceWrapper< const T > | rwCRef (const T &ref) |
| template<typename T > | |
| RWTReferenceWrapper< T > | rwRef (T &ref) |
RWTReferenceWrapper stores a reference to an object.
|
inline |
Constructs a reference wrapper for the object referenced by ref
|
inline |
Constructs a reference wrapper for the object referenced by rhs.
|
inline |
Conversion operator.
|
inline |
Assignment operator. Self will reference the same instance as rhs.
|
related |
Constructs an RWTReferenceWrapper for ref.
|
related |
Constructs an RWTReferenceWrapper for ref.
Copyright © 2014 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.