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

#include <v8-persistent-handle.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 227 of file v8-persistent-handle.h.

Member Typedef Documentation

◆ NonCopyablePersistent

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

Definition at line 229 of file v8-persistent-handle.h.

Member Function Documentation

◆ Copy()

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

Definition at line 232 of file v8-persistent-handle.h.

Field Documentation

◆ kResetInDestructor

template<class T >
const bool kResetInDestructor = false
static

Definition at line 230 of file v8-persistent-handle.h.


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