Interfaces allow member definitions?

TheFlyingFiddle theflyingfiddle at gmail.com
Thu Jan 30 06:07:43 PST 2014


On Thursday, 30 January 2014 at 13:43:49 UTC, Casper Færgemand 
wrote:
> Compiling with DMD 2.064, I am NOT able to get any function in 
> interfaces accepted unless they are final. This means you 
> cannot provide default behavior in the interface, at least not 
> in the ways shown above.

Yes the void baz() method is incorrect. The rest should be fine 
though.


More information about the Digitalmars-d-learn mailing list