v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::Maybe< void > Class Reference

#include <v8-maybe.h>

Collaboration diagram for v8::Maybe< void >:

Classes

struct  JustTag
 

Public Member Functions

V8_INLINE bool IsNothing () const
 
V8_INLINE bool IsJust () const
 
V8_INLINE bool operator== (const Maybe &other) const
 
V8_INLINE bool operator!= (const Maybe &other) const
 

Private Member Functions

 Maybe ()
 
 Maybe (JustTag)
 

Private Attributes

bool is_valid_
 

Friends

template<class U >
Maybe< U > Nothing ()
 
Maybe< void > JustVoid ()
 

Detailed Description

Definition at line 131 of file v8-maybe.h.

Constructor & Destructor Documentation

◆ Maybe() [1/2]

v8::Maybe< void >::Maybe ( )
inlineprivate

Definition at line 147 of file v8-maybe.h.

◆ Maybe() [2/2]

v8::Maybe< void >::Maybe ( JustTag )
inlineexplicitprivate

Definition at line 148 of file v8-maybe.h.

Member Function Documentation

◆ IsJust()

V8_INLINE bool v8::Maybe< void >::IsJust ( ) const
inline

Definition at line 134 of file v8-maybe.h.

◆ IsNothing()

V8_INLINE bool v8::Maybe< void >::IsNothing ( ) const
inline

Definition at line 133 of file v8-maybe.h.

◆ operator!=()

V8_INLINE bool v8::Maybe< void >::operator!= ( const Maybe< void > & other) const
inline

Definition at line 140 of file v8-maybe.h.

Here is the call graph for this function:

◆ operator==()

V8_INLINE bool v8::Maybe< void >::operator== ( const Maybe< void > & other) const
inline

Definition at line 136 of file v8-maybe.h.

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ JustVoid

Maybe< void > JustVoid ( )
friend

Definition at line 157 of file v8-maybe.h.

◆ Nothing

template<class U >
Maybe< U > Nothing ( )
friend

Definition at line 112 of file v8-maybe.h.

Member Data Documentation

◆ is_valid_

bool v8::Maybe< void >::is_valid_
private

Definition at line 150 of file v8-maybe.h.


The documentation for this class was generated from the following file: