WPILibC++
2018.4.1-20180729133221-1141-g00c2cd7
|
Storage for any type. More...
#include <Optional.h>
Public Member Functions | |
OptionalStorage (const T &y) | |
OptionalStorage (const OptionalStorage &O) | |
OptionalStorage (T &&y) | |
OptionalStorage (OptionalStorage &&O) | |
OptionalStorage & | operator= (T &&y) |
OptionalStorage & | operator= (OptionalStorage &&O) |
OptionalStorage & | operator= (const T &y) |
OptionalStorage & | operator= (const OptionalStorage &O) |
void | reset () |
T * | getPointer () |
const T * | getPointer () const |
Public Attributes | |
AlignedCharArrayUnion< T > | storage |
bool | hasVal = false |
Storage for any type.