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.
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.