[phobos] ModuleInfo - class to struct?

Andrei Alexandrescu andrei at erdani.com
Mon Jan 18 14:43:10 PST 2010


I think it's a great idea.

Andrei

Walter Bright wrote:
> I'd like to change the ModuleInfo from a class to a struct. This will 
> eliminate the reference in each module to the ModuleInfo vtbl[], which 
> winds up pulling in everything. I don't think there is any use for 
> ModuleInfo for polymorphic behavior.
> 
> This should only impact druntime's source code (and will require 
> everything to be recompiled). Have I missed anything?
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos


More information about the phobos mailing list