easy_reflection_cpp
easy_reflection_cpp copied to clipboard
Reflection brings the best way to serialize/deserialize json and yaml in C++
Most of operations in reflection code should be type agnostic. This is the reason why classes like `Box` or `Sequence` don't have a type parameter. We really don't know what...
Currently any piece of type copying during deserialization, because reflection system has only `copy()` function. We should add support of `move()` in reflection library to optimize that.
Check clang's cross compilation at least for x64 and Aarch64, macOS and Linux.
Create an array with error strings and enum with understandable error constants. Operate enum constants as return value during parsing. On upper level convert enum constant into index, then return...
Modify generator, get fields of parent class during analising AST.
I believe we can specialize `constexpr TypeId` for analyzed types and construct map with `FieldInfo` in compile time.
We should do: - Add support of user's template classes with different number of template arguments. It could be done with lists in inja template engine. - Add custom allocators...
Add default constructable SFINAE guard for reflectable types and return default value in case of `null` value during parsing.
And check the indention somehow, perhaps by using manually formatted etalon prints.