wc-duck / datalibrary

Open Source Data Library for data serialization.
Other
42 stars 8 forks source link

Missing AnyPointer, i.e. a "late assigned" pointer type #145

Open Tisten opened 1 year ago

Tisten commented 1 year ago

To be able to store a "variant" or typed void* today is possible using a union in dl. But that requires all valid types to be listed while creating the type library. I find it really useful to create type libraries which doesn't know about each other but still accept to carry data from each other. It ought to be enough to have the type definitions known at assign/decode time.