v8 10.2.154 (node 18.16.0)
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 240 of file v8-persistent-handle.h.

Member Typedef Documentation

◆ NonCopyablePersistent

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

Definition at line 242 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 245 of file v8-persistent-handle.h.

Field Documentation

◆ kResetInDestructor

template<class T >
const bool kResetInDestructor = false
static

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


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