billyquith / ponder

C++ reflection library with Lua binding, and JSON and XML serialisation.
http://billyquith.github.io/ponder/
Other
642 stars 95 forks source link

Support for creating objects in preallocated memory (catchphrase "placement new") #16

Closed Weeena closed 8 years ago

Weeena commented 8 years ago

We would like to be able to create objects with ponder in preallocated memory. We would like this to work for objects for which we know just the class name but not the class definition (i.e. we do not have the class's header file available). For this to work, we would need the following functionalities:

Would it be possible to extend ponder with the above functionalities?

billyquith commented 8 years ago

I think this is doable. Will have a look tomorrow.

billyquith commented 8 years ago

This has been added to the 1.1 branch.