#include <nan_maybe_pre_43_inl.h>
Public Member Functions | |
T | FromJust () const |
T | FromMaybe (const T &default_value) const |
bool | IsJust () const |
bool | IsNothing () const |
bool | operator!= (const Maybe &other) const |
bool | operator== (const Maybe &other) const |
Private Member Functions | |
Maybe () | |
Maybe (const T &t) | |
Private Attributes | |
bool | has_value_ |
T | value_ |
Friends | |
template<typename U > | |
Maybe< U > | Just (const U &u) |
template<typename U > | |
Maybe< U > | Nothing () |
Definition at line 50 of file nan_maybe_pre_43_inl.h.
Definition at line 76 of file nan_maybe_pre_43_inl.h.
Definition at line 77 of file nan_maybe_pre_43_inl.h.
Definition at line 55 of file nan_maybe_pre_43_inl.h.
Definition at line 62 of file nan_maybe_pre_43_inl.h.
Definition at line 53 of file nan_maybe_pre_43_inl.h.
Definition at line 52 of file nan_maybe_pre_43_inl.h.
Definition at line 71 of file nan_maybe_pre_43_inl.h.
Definition at line 66 of file nan_maybe_pre_43_inl.h.
bool Maybe< T >::has_value_ [private] |
Definition at line 78 of file nan_maybe_pre_43_inl.h.
Definition at line 79 of file nan_maybe_pre_43_inl.h.