DIP69 - Implement scope for escape proof references

Max Samukha via Digitalmars-d digitalmars-d at puremagic.com
Sat Dec 13 06:10:50 PST 2014


On Saturday, 13 December 2014 at 02:55:50 UTC, Manu via 
Digitalmars-d wrote:

> Templates and functions are different things. I think it's a 
> massive
> mistake to have created a way to write a template that looks 
> nothing
> like a template.

That is a misconception spread by C++. Templates are pure 
functions applied at compile time. Function templates are 
functions partially applied at compile time.


More information about the Digitalmars-d mailing list