v8  7.9.317 (node 13.2.0)
V8 is Google's open source JavaScript engine
Maybe< void > Class Reference

#include <v8.h>

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
 

Friends

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

Detailed Description

Definition at line 9518 of file v8.h.

Member Function Documentation

◆ IsJust()

V8_INLINE bool IsJust ( ) const
inline

Definition at line 9521 of file v8.h.

Referenced by Maybe< void >::operator==().

◆ IsNothing()

V8_INLINE bool IsNothing ( ) const
inline

Definition at line 9520 of file v8.h.

◆ operator!=()

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

Definition at line 9527 of file v8.h.

References Maybe< void >::operator==().

◆ operator==()

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

Definition at line 9523 of file v8.h.

References Maybe< void >::IsJust().

Referenced by Maybe< void >::operator!=().

Friends And Related Function Documentation

◆ JustVoid

Maybe<void> JustVoid ( )
friend

Definition at line 9544 of file v8.h.

◆ Nothing

Maybe<U> Nothing ( )
friend

Definition at line 9507 of file v8.h.


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