v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::NonCopyablePersistentTraits< T > Class Template Reference

#include <v8-persistent-handle.h>

Collaboration diagram for v8::NonCopyablePersistentTraits< T >:

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 v8::NonCopyablePersistentTraits< T >::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 v8::NonCopyablePersistentTraits< T >::Copy ( const Persistent< S, M > & source,
NonCopyablePersistent * dest )
inlinestatic

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

Member Data Documentation

◆ kResetInDestructor

template<class T >
const bool v8::NonCopyablePersistentTraits< T >::kResetInDestructor = false
static

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


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