![]() |
LatticeHashForest
|
Describes an optional value of some type T. The value may either be present or absent. More...
#include <lhf.hpp>
Public Member Functions | |
Optional (const T &value) | |
bool | is_present () |
Informs if the value is present. | |
const T & | get () |
Gets the underlying value. Throws an exception if it is absent. | |
Static Public Member Functions | |
static Optional | absent () |
Explicitly creates an absent value. | |
Describes an optional value of some type T. The value may either be present or absent.
T | The type. |
|
inline |
|
inlinestatic |
Explicitly creates an absent value.
Definition at line 99 of file lhf.hpp.
Referenced by lhf::LatticeHashForest< PropertyT, PropertyLess, PropertyHash, PropertyEqual, PropertyPrinter, Nesting >::find_key().
|
inline |
|
inline |