idup class

Joshua Niehus via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri May 16 13:53:21 PDT 2014


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 :)


More information about the Digitalmars-d-learn mailing list