Open Chinese Convert 1.1.9
A project for conversion between Traditional and Simplified Chinese
|
Specialization of Optional for pointers. More...
#include <Optional.hpp>
Public Member Functions | |
Optional (TPtr actual) | |
bool | IsNull () const |
const TPtr & | Get () const |
Optional (T actual) | |
The constructor of Optional. | |
bool | IsNull () const |
Returns true if the instance is null. | |
const T & | Get () const |
Returns the containing data of the instance. | |
Static Public Member Functions | |
static Optional< TPtr > | Null () |
static Optional< T > | Null () |
Constructs a null instance. | |
Specialization of Optional for pointers.
Reduce a bool.