arduino-audio-driver
|
A simple optonal implementation. More...
#include <Optional.h>
Public Member Functions | |
Optional () | |
Optional (T value) | |
operator bool () const | |
void | reset () |
T & | value () |
T & | valueOr (T alt) |
Protected Attributes | |
bool | is_valid = false |
T | val |
A simple optonal implementation.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |