Templates - What's Up with the template keyword?

Ron Tarrant rontarrant at gmail.com
Mon Apr 8 12:59:27 UTC 2019


On Monday, 8 April 2019 at 12:40:10 UTC, Adam D. Ruppe wrote:

> You don't need template keyword for the majority of cases 
> because the compiler lets you do shortcuts.
Thanks, Adam. Good to know.


> (maybe I am looking at the wrong part of the book, it is hard 
> to find the right section/page number online).

My bad. The edition I'm working from was released 2018-10-17 and 
can be found here:

http://ddili.org/ders/d.en/Programming_in_D.pdf

The page number in online PDF viewer is 421 and the example is 
about 1/3 of the way down the page.




More information about the Digitalmars-d-learn mailing list