v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
Maybe< void > Class Reference

#include <v8-maybe.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 130 of file v8-maybe.h.

Member Function Documentation

◆ IsJust()

V8_INLINE bool IsJust ( ) const
inline

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

◆ IsNothing()

V8_INLINE bool IsNothing ( ) const
inline

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

◆ operator!=()

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

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

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

◆ operator==()

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

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

References Maybe< T >::IsJust().

Friends And Related Symbol Documentation

◆ JustVoid

Maybe< void > JustVoid ( )
friend

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

◆ Nothing

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

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


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