On Tue, 14 Apr 2015 04:16:16 -0400, Jacob Carlborg <[email protected]> wrote:
On 2015-04-14 07:03, bitwise wrote:
You may want to look at "Orange".
https://github.com/jacob-carlborg/orange
The API is clean, and non-invasive. The only downside for me, is that in
order to serialize a class by a base pointer, you have to register it at
compile time.
Yeah, this will require runtime reflection to avoid the registering of
the type.
This is one of the main reasons I like the OffsetTypeInfo/offTi() option.
I think a "name" field would have to be added to OffsetTypeInfo for it to
be useful, and I have a feeling that would increase the binary size by
quite a bit.. So I'll have to test it and see.