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

#include <v8.h>

Public Types

using NonCopyablePersistent = Persistent< T, NonCopyablePersistentTraits< T > >
 

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 632 of file v8.h.

Member Typedef Documentation

◆ NonCopyablePersistent

Definition at line 634 of file v8.h.

Member Function Documentation

◆ Copy()

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

Definition at line 637 of file v8.h.

Field Documentation

◆ kResetInDestructor

const bool kResetInDestructor = false
static

Definition at line 635 of file v8.h.


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