Is there a new serialization as well as a reflection library in the C ++ 11 standard?

Recently, it’s not impossible to simplify serialization to clarify materials in the standard C ++ 11 library. Meanwhile, I need serialization, as well as a reflection library for my project. I searched around and did not find.

Therefore, I would like to know if the existing one (hmm ... it should be completely new, compatible with C ++ 11, and not aging MFC) or any basic, practical and explicit guide to creating your own, as far as I think, rationale is to type with these helpers in STANDARD <type_traits> , which has already been accepted in forced serialization without a std namespace.

It may be just as insignificant for you as picking pebbles from an egg, but I just can't bring myself joy.

+6
source share
2 answers

To actually answer this question, although a little late: now cereal , which is obviously exactly what you asked for.

+8
source

Well, if you want a complete serialization solution, perhaps you can try ROOT reflection . But this is not a light library. On the other hand, it is a complete solution.

+1
source

All Articles