v8  3.28.71 (node 0.12.18)
V8 is Google's open source JavaScript engine
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 V8_INLINE 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.

Definition at line 606 of file v8.h.

Member Typedef Documentation

◆ CopyablePersistent

Definition at line 607 of file v8.h.

Member Function Documentation

◆ Copy()

static V8_INLINE void Copy ( const Persistent< S, M > &  source,
CopyablePersistent dest 

Definition at line 610 of file v8.h.

Field Documentation

◆ kResetInDestructor

const bool kResetInDestructor = true

Definition at line 608 of file v8.h.

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