sameness

bearophile bearophileHUGS at lycos.com
Fri Jan 20 04:51:27 PST 2012


sclytrack:

> 	letters are different yet the same
> ...
> 	letters are different

It's a Zen thing.
Templates are very strict in the type you give them, while function arguments perform some silent type conversions. I think this will not change, because it's hard to design C++/D-style templates in a different way. In C++ happens something similar.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list