Closed whoozle closed 7 years ago
is it a duplicate of #18 ? code above is throwing an exception (see below), and I found no reference of std::function from convert.hpp, did I miss something there?
terminate called after throwing an instance of 'std::runtime_error'
what(): v8pp::class_<std::function<void()>> not found in isolate 0x22705d0
Yes, it's kind of. You can also look at #49
Is there any possibility creating assignable callbacks a la dom, e.g.
Ideally check for callable member pointer type in convert.hpp.