|
V8_INLINE | Persistent () |
|
template<class S > |
V8_INLINE | Persistent (Isolate *isolate, Local< S > that) |
|
template<class S , class M2 > |
V8_INLINE | Persistent (Isolate *isolate, const Persistent< S, M2 > &that) |
|
V8_INLINE | Persistent (const Persistent &that) |
|
template<class S , class M2 > |
V8_INLINE | Persistent (const Persistent< S, M2 > &that) |
|
V8_INLINE Persistent & | operator= (const Persistent &that) |
|
template<class S , class M2 > |
V8_INLINE Persistent & | operator= (const Persistent< S, M2 > &that) |
|
V8_INLINE | ~Persistent () |
|
template<class S > |
V8_INLINE Persistent< S > & | As () const |
|
template<class S , class M2 > |
void | Copy (const Persistent< S, M2 > &that) |
|
template<class T, class M>
class v8::Persistent< T, M >
A PersistentBase which allows copy and assignment.
Copy, assignment and destructor behavior is controlled by the traits class M.
Note: Persistent class hierarchy is subject to future changes.
Definition at line 97 of file v8.h.
template<class T , class M >
template<class F1 , class F2 >
Persistent is a way to create a strong pointer from an off-heap object to another on-heap object. As long as the Persistent handle is alive the GC will keep the object pointed to alive. The Persistent handle is always a GC root from the point of view of the GC. Persistent must be constructed and destructed in the same thread.
Definition at line 735 of file v8.h.