SourcePro® 2024.1 |
SourcePro® API Reference Guide |
Stores a reference to an object. More...
#include <rw/tools/refwrap.h>
Public Member Functions | |
RWTReferenceWrapper (const RWTReferenceWrapper &rhs) | |
RWTReferenceWrapper (T &ref) | |
operator T& () const | |
RWTReferenceWrapper & | operator= (const RWTReferenceWrapper &rhs) |
Related Symbols | |
(Note that these are not member symbols.) | |
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 © 2024 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |