skypjack / meta

Header-only, non-intrusive and macro-free runtime reflection system in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to use library for [de]serialization?

mapron opened this issue · comments

As I see, all meta mapping performed in integers. So, after meta is created, I could only test if member exist, not iterate through all mapped methods and save values (Imagine struct => json)
Am I wrong or library is not created for this?

Please tell what I'm missing

First of all, I strongly suggest to use the meta module from EnTT (the one from which is derived, since it's by far more feature-rich).
That being said, you can iterate all members from a meta type, both data and functions, then invoke them as needed. So, I don't really get your question to be honest.

I'm closing this because of inactivity.

Thanks for your suggestion. Missed email somehow, sorry! That closed correctly :) And in final I get used into RTTR library fyi.

Good choice. I was using it too but I had to write my own unfortunately because of a lack of some feature I needed and the partial inactivity. It's pretty good though. 👍