www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Are D templates exported ?

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.
Feb 17 2010