Are D templates exported ?

#ponce aliloko.idontlikespamsomuch at gmail.com
Wed Feb 17 07:12:02 PST 2010


Seems like D templates don't require to be in each translation unit.

Does that mean that D templates are "exported" (like Comeau C++ do ?).

export template<T> blabla...

Is it the very same feature that C++ dropped ?

If so I think it's a great compared the C++ way (implementation all over the place) and could be advertised more.


More information about the Digitalmars-d-learn mailing list