Suggestion: Implicit Derived[]-to-Base[] conversions should be disallowed

maXmo terranium at yandex.ru
Tue Jan 30 10:47:56 PST 2007


> we can write generic array operations by them, not relying on Derived[]-to-Base[] conversions.

but wouldn't templates bloat your code? I don't know how D deals with them but in C++ when you instantiate template with different parameters you get several instances of the template, all the templated code gets copied.



More information about the Digitalmars-d mailing list