Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
v8::CopyablePersistentTraits< T > Struct Template Reference

#include <v8.h>

Public Types

typedef Persistent< T, CopyablePersistentTraits< T > > CopyablePersistent
 

Static Public Member Functions

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

Static Public Attributes

static const bool kResetInDestructor = true
 

Detailed Description

template<class T>
struct v8::CopyablePersistentTraits< T >

Helper class traits to allow copying and assignment of Persistent. This will clone the contents of storage cell, but not any of the flags, etc.

Member Typedef Documentation

◆ CopyablePersistent

template<class T >
typedef Persistent<T, CopyablePersistentTraits<T> > v8::CopyablePersistentTraits< T >::CopyablePersistent

Member Function Documentation

◆ Copy()

template<class T >
template<class S , class M >
static void v8::CopyablePersistentTraits< T >::Copy ( const Persistent< S, M > &  source,
CopyablePersistent dest 
)
inlinestatic

Member Data Documentation

◆ kResetInDestructor

template<class T >
const bool v8::CopyablePersistentTraits< T >::kResetInDestructor = true
static

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