On Friday, 16 May 2014 at 20:36:37 UTC, Ali Çehreli wrote:

My apologies. The code was written for an older version of dmd. The simplest fix is to define the constructor as pure:

     pure this(int num) {
         this.num = num;
     }

Ali

Ahh great thanks guys.
No worries Ali, great book, i refer to it all the time :)

Reply via email to