Explore a minimally intrusive technique for binary object serialization in C++ in this conference talk from CppNow 2022. Learn how to add serialization to a set of classes, traverse hierarchical data, persist in binary format, and dynamically reconstruct objects. Discover how to deduce data types using Template Argument Deduction (TAD) for storage and employ a homebrew reflection technique for dynamic object creation during loading. Understand this platform-agnostic approach using C++14 compliant SFINAE/std::enable_if mechanisms, suitable for those unable to migrate to C++20. Delve into optimizations and the potential conversion of this technique to utilize C++20 concepts, gaining insights into advanced metaprogramming and utility development for complex data structures and networks.
Overview
Syllabus
Binary Object Serialization - Chris Ryan - CppNow 2022
Taught by
CppNow