v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StaticallyAllocatedInstanceTrait< T > Struct Template Reference

#include <lazy-instance.h>

Public Member Functions

struct V8_ALIGNAS (T, 16) StorageType
 
 STATIC_ASSERT (V8_ALIGNOF(StorageType) >=V8_ALIGNOF(T))
 

Static Public Member Functions

static TMutableInstance (StorageType *storage)
 
template<typename ConstructTrait >
static void InitStorageUsingTrait (StorageType *storage)
 

Detailed Description

template<typename T>
struct v8::internal::StaticallyAllocatedInstanceTrait< T >

Definition at line 117 of file lazy-instance.h.

Member Function Documentation

static void InitStorageUsingTrait ( StorageType *  storage)
inlinestatic
static T* MutableInstance ( StorageType *  storage)
inlinestatic

Definition at line 125 of file lazy-instance.h.

References T.

Referenced by StaticallyAllocatedInstanceTrait< T >::InitStorageUsingTrait().

STATIC_ASSERT ( V8_ALIGNOF(StorageType) >=V8_ALIGNOF(T )
struct V8_ALIGNAS ( T  ,
16   
)
inline

Definition at line 119 of file lazy-instance.h.

References T.


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