|
constexpr | Optional (NoneType) |
|
| Optional (const T &y) |
|
| Optional (const Optional &O)=default |
|
| Optional (T &&y) |
|
| Optional (Optional &&O)=default |
|
Optional & | operator= (T &&y) |
|
Optional & | operator= (Optional &&O)=default |
|
template<typename... ArgTypes> |
void | emplace (ArgTypes &&...Args) |
| Create a new object by constructing it in place with the given arguments.
|
|
Optional & | operator= (const T &y) |
|
Optional & | operator= (const Optional &O)=default |
|
void | reset () |
|
const T * | getPointer () const |
|
T * | getPointer () |
|
const T & | getValue () const LLVM_LVALUE_FUNCTION |
|
T & | getValue () LLVM_LVALUE_FUNCTION |
|
| operator bool () const |
|
bool | hasValue () const |
|
const T * | operator-> () const |
|
T * | operator-> () |
|
const T & | operator* () const LLVM_LVALUE_FUNCTION |
|
T & | operator* () LLVM_LVALUE_FUNCTION |
|
template<typename U > |
constexpr T | getValueOr (U &&value) const LLVM_LVALUE_FUNCTION |
|
The documentation for this class was generated from the following file:
- /var/lib/jenkins/workspace/WPILib/WPILib - Development/arm/wpiutil/src/main/native/include/wpi/Optional.h