SHOGUN
4.1.0
|
Go to the source code of this file.
Classes | |
class | Nothing |
class | Maybe< T > |
Holder that represents an object that can be either present or absent. Quite simllar to std::optional introduced in C++14, but provides a way to pass the reason of absence (e.g. "incorrect parameter"). More... | |
Functions | |
template<typename T > | |
static Maybe< T > | Just (const T &value) |
Variables | |
static const char * | NO_REASON_FOR_ABSENCE = "AVAILABLE" |