v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 730 | skipping to change at line 730 | |||
}; | }; | |||
/** | /** | |||
* A PersistentBase which has move semantics. | * A PersistentBase which has move semantics. | |||
* | * | |||
* Note: Persistent class hierarchy is subject to future changes. | * Note: Persistent class hierarchy is subject to future changes. | |||
*/ | */ | |||
template<class T> | template<class T> | |||
class UniquePersistent : public PersistentBase<T> { | class UniquePersistent : public PersistentBase<T> { | |||
struct RValue { | struct RValue { | |||
V8_INLINE explicit RValue(UniquePersistent* object) : object(object) {} | V8_INLINE explicit RValue(UniquePersistent* obj) : object(obj) {} | |||
UniquePersistent* object; | UniquePersistent* object; | |||
}; | }; | |||
public: | public: | |||
/** | /** | |||
* A UniquePersistent with no storage cell. | * A UniquePersistent with no storage cell. | |||
*/ | */ | |||
V8_INLINE UniquePersistent() : PersistentBase<T>(0) { } | V8_INLINE UniquePersistent() : PersistentBase<T>(0) { } | |||
/** | /** | |||
* Construct a UniquePersistent from a Handle. | * Construct a UniquePersistent from a Handle. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||