Open Chinese Convert
1.0.1
A project for conversion between Traditional and Simplified Chinese
|
A class that wraps type T into a nullable type. More...
#include <Optional.hpp>
Public Member Functions | |
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< T > | Null () |
Constructs a null instance. | |
A class that wraps type T into a nullable type.