v8pp v1.5.0 Release Notes
Release Date: 2017-10-29 // over 6 years ago-
Wrapped C++ class now can be bound to store objects in
std::shared_ptr
:class MyClass {}; v8pp::class_<MyClass, true> MyClass_binding(isolate); v8::Handle<v8::Object> v8_obj = v8pp::class_<MyClass, true>::create_object(isolate); std::shared_ptr<MyClass> obj = v8pp::class_<MyClass, true>::unwrap_object(isolate, v8_obj);
Added compile-time
type_id()
function instead of RTTI usage.🛠 Fixed an issue #62