How to override impure function from pure function

Nikhil Jacob via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Dec 12 20:48:11 PST 2016


In the D spec for pure functions it says that a pure function can 
override

"can override an impure function, but an impure function cannot 
override a pure one"

Can anyone help me how to do this ?


More information about the Digitalmars-d-learn mailing list