OT: on IDEs and code writing on steroids
BCS
none at anon.com
Mon May 18 08:14:20 PDT 2009
Hello grauzone,
> So what would you suggest to make the things you mentioned work? That
> was:
> 1. templated virtual functions
> 2. finding all derived classes (from other source files)
> The problem is that D wants to support dynamic linking on the module
> level, more or less.
>
> I still wonder how serialization is supposed to work. Yeah, we can get
> all information at compile time using __traits. But right now, we had
> to register all classes manually using a template function, like "void
> registerForSerialization(ClassType)();". What you'd actually need is
> to iterate over all classes in your project. So this _needs_ a
> solution.
I'm very interested on any ideas you have for this as I'm planning on writeing
just smutchy a library. Currently I'm at the "list the problems I see" stage
and I'll have a post on it some time soon.
More information about the Digitalmars-d
mailing list