Am 14.12.2011 21:13, schrieb Jonathan M Davis:
Also, _all_ templated _anything_ has to be put in the .di file, and a lot of
stuff tends to be templated in D (especially in the standard library), so it's
pretty easy to need to put a large portion of your code in the .di file anyway.


I think that Modula-3, Eiffel and Ada don't have issues with having "template" declaration in the interface part, with the definition being done in the implementation part.

Then again, what they support is what is more commonly known as generics.

I imagine you mean that metaprogramming requires the template code to be in the .di file as well, right?

--
Paulo

Reply via email to