v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::base::ContextualVariableWithDefault< Derived, VarType, default_args > Class Template Reference

#include <contextual.h>

Inheritance diagram for v8::base::ContextualVariableWithDefault< Derived, VarType, default_args >:
Collaboration diagram for v8::base::ContextualVariableWithDefault< Derived, VarType, default_args >:

Static Public Member Functions

static VarType & Get ()
 
- Static Public Member Functions inherited from v8::base::ContextualVariable< Derived, VarType >
static VarType & Get ()
 
static bool HasScope ()
 

Private Types

using Base = ContextualVariable<Derived, VarType>
 

Static Private Attributes

static thread_local VarType default_value_ {default_args...}
 

Additional Inherited Members

- Public Types inherited from v8::base::ContextualVariable< Derived, VarType >
using VarT = VarType
 

Detailed Description

template<class Derived, class VarType, auto... default_args>
class v8::base::ContextualVariableWithDefault< Derived, VarType, default_args >

Definition at line 112 of file contextual.h.

Member Typedef Documentation

◆ Base

template<class Derived , class VarType , auto... default_args>
using v8::base::ContextualVariableWithDefault< Derived, VarType, default_args >::Base = ContextualVariable<Derived, VarType>
private

Definition at line 120 of file contextual.h.

Member Function Documentation

◆ Get()

template<class Derived , class VarType , auto... default_args>
static VarType & v8::base::ContextualVariableWithDefault< Derived, VarType, default_args >::Get ( )
inlinestatic

Definition at line 115 of file contextual.h.

Member Data Documentation

◆ default_value_

template<class Derived , class VarType , auto... default_args>
thread_local VarType v8::base::ContextualVariableWithDefault< Derived, VarType, default_args >::default_value_ {default_args...}
inlinestaticprivate

Definition at line 121 of file contextual.h.


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