Compiling Templates

bearophile bearophileHUGS at lycos.com
Thu Jul 2 04:00:35 PDT 2009


Kagamin:

> bearophile Wrote:
> 
> > Most of the things you can do with templates can be done with functions (even not pure ones!) run at compile-time that are also allowed to use (and receive/return) a type of compile-time variables of type "type" :-) I think this may lead to a language that's cleaner than C++/D-style templates.

> lisp?

My experience of Lisp is quite limited. How can you do that with lisp? I think we are talking about different things.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list