How to get compatible symbol names and runtime typeid names for templated classes?
Adam D Ruppe
destructionator at gmail.com
Tue May 3 12:46:56 UTC 2022
On Tuesday, 3 May 2022 at 09:42:45 UTC, cc wrote:
> something I can pass to `Object.factory`.
Object.factory is useless and will hopefully be removed someday.
Instead, make your own factory registration function.
Put a static constructor in the class which appends a factory
delegate to an array or something you can use later. Then you can
use your own thing to construct registered objects.
More information about the Digitalmars-d-learn
mailing list