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.


Reply via email to