|  |   Apache Ignite C++
    | 
#include <reference.h>
| Public Member Functions | |
| Reference () | |
| Default constructor. | |
| Reference (common::ReferenceImplBase *ptr, ptrdiff_t offset=0) | |
| Constructor.  More... | |
| Reference (const Reference &other) | |
| Copy constructor.  More... | |
| template<typename T2 > | |
| Reference (const Reference< T2 > &other) | |
| Copy constructor.  More... | |
| Reference & | operator= (const Reference &other) | 
| Assignment operator.  More... | |
| template<typename T2 > | |
| Reference & | operator= (const Reference< T2 > &other) | 
| Assignment operator.  More... | |
| ~Reference () | |
| Destructor. | |
| template<typename T2 > | |
| operator ConstReference< T2 > () | |
| Const cast operator.  More... | |
| const T * | Get () const | 
| Dereference the pointer.  More... | |
| T * | Get () | 
| Dereference the pointer.  More... | |
| bool | IsNull () const | 
| Check if the pointer is null.  More... | |
Reference class.
Abstraction on any reference-type object, from simple raw pointers and references to standard library smart pointers.
There are no requirements for the template type T.
| 
 | inlineexplicit | 
Constructor.
| ptr | Reference class implementation. | 
| offset | Pointer offset. | 
| 
 | inline | 
Copy constructor.
| other | Another instance. | 
| 
 | inline | 
Copy constructor.
Reference of type T2 should be static-castable to reference of type T.
| other | Another instance. | 
| 
 | inline | 
Dereference the pointer.
If the pointer is null then this operation causes undefined behaviour.
| 
 | inline | 
Dereference the pointer.
If the pointer is null then this operation causes undefined behaviour.
| 
 | inline | 
Check if the pointer is null.
| 
 | inline | 
Const cast operator.
Reference of type T2 should be static-castable to reference of type T.
Casts this instance to constant reference.
| 
 | inline | 
Assignment operator.
| other | Another instance. | 
| 
 | inline | 
Assignment operator.
Reference of type T2 should be static-castable to reference of type T.
| other | Another instance. | 
 1.8.17
 1.8.17