L
lothar.behrens
Hi,
I want to implement a serializiation mechanism for my classes. Having
the book Modern C++ Design
I am thinking about, if I could do it that way, the book describes.
The following conditions are given:
* My objects could be created only on heap.
* They are all derived from pure abstract classes (interfaces)
* The objects are loadable at runtime (dlsym and co)
So the sample class BaseVisitable with a static member function
AcceptImpl may be a problem
in my approach of pure virtual classes.
Are there equivalent nonstatic approaches for pure abstract classes
available ?
Thanks, Lothar
I want to implement a serializiation mechanism for my classes. Having
the book Modern C++ Design
I am thinking about, if I could do it that way, the book describes.
The following conditions are given:
* My objects could be created only on heap.
* They are all derived from pure abstract classes (interfaces)
* The objects are loadable at runtime (dlsym and co)
So the sample class BaseVisitable with a static member function
AcceptImpl may be a problem
in my approach of pure virtual classes.
Are there equivalent nonstatic approaches for pure abstract classes
available ?
Thanks, Lothar