v8  8.4.371 (node 14.19.3)
V8 is Google's open source JavaScript engine
NonCopyablePersistentTraits< T > Class Template Reference

#include <v8.h>

Public Types

typedef Persistent< T, NonCopyablePersistentTraits< T > > NonCopyablePersistent
 

Static Public Member Functions

template<class S , class M >
static V8_INLINE void Copy (const Persistent< S, M > &source, NonCopyablePersistent *dest)
 

Static Public Attributes

static const bool kResetInDestructor = false
 

Detailed Description

template<class T>
class v8::NonCopyablePersistentTraits< T >

Default traits for Persistent. This class does not allow use of the copy constructor or assignment operator. At present kResetInDestructor is not set, but that will change in a future version.

Definition at line 620 of file v8.h.

Member Typedef Documentation

◆ NonCopyablePersistent

Definition at line 622 of file v8.h.

Member Function Documentation

◆ Copy()

static V8_INLINE void Copy ( const Persistent< S, M > &  source,
NonCopyablePersistent dest 
)
inlinestatic

Definition at line 625 of file v8.h.

Field Documentation

◆ kResetInDestructor

const bool kResetInDestructor = false
static

Definition at line 623 of file v8.h.


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