Allow to store wrapped C++ objects in `std::shared_ptr`
- 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