v8
3.28.71 (node 0.12.18)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Public Member Functions | |
Maybe () | |
Maybe (T t) | |
Maybe (bool has, T t) | |
Data Fields | |
bool | has_value |
T | value |
A simple Maybe type, representing an object which may or may not have a value.
|
inline |
Definition at line 889 of file v8.h.
References Maybe< T >::has_value.
|
inlineexplicit |
Definition at line 890 of file v8.h.
References Maybe< T >::has_value, and Maybe< T >::value.
|
inline |
Definition at line 891 of file v8.h.
References Maybe< T >::has_value, and Maybe< T >::value.
bool has_value |
Definition at line 893 of file v8.h.
Referenced by Maybe< T >::Maybe().
T value |
Definition at line 894 of file v8.h.
Referenced by Maybe< T >::Maybe().