Cross Platform GUID Association with Types
summary
Implements cross-platform GUID-for-type association that replaces MSVC-only __declspec attributes with macro markers that expand to constexpr functions and a string-to-GUID constexpr converter. Uses C++11 templates and constexpr so code compiles on Clang/GCC (and Visual C++ with declspec) and avoids RTTI and attribute-induced object-size bloat. Prototype handles forward declarations, provides a default-error specialization, and mostly works—fails on C or pre-C++11 builds and exposed an Android NDK linker quirk during testing.
AI-written summary · about
chapters (8)
- 0:00Intro
- 0:22Why C
- 1:28Tinkly
- 2:54Visuals to C
- 4:00Markers
- 6:22C Implementation
- 10:18Issues
- 11:31Conclusion
related talks
36mCompile-time reflection, Serialization and ORM
01h 02m“Lightweight Object Persistence With Relocatable Heaps in Modern C++"
01h 00mAchieving performance in financial data processing through compile time introspection
46mExperimenting with type erasure in C++17
50mWhat is new in C and POSIX?
51mBinary Object Serialization with Data Structure Traversal & Reconstruction in Cpp
55mTaking Static Type-safety to the Next Level: Physical Units for Matrices
55mBuilding an Extensible Type Serialization System Using Partial Template Specialization
