Little demo of allowing basic types to implement interfaces.

Tobias Pankrath tobias at
Wed Sep 4 00:04:14 PDT 2013

On Wednesday, 4 September 2013 at 00:56:55 UTC, Rory McGuire 
> I was wondering if its possible to do interfaces the way 
> #golang does it
> but in #dlang.
> Here is my first try:
>  Any help on making this smaller would be awesome.
> Cheers,
> R

Will this break, if I implement the free standing functions in a 
different module that is not in scope of the Implements! template?

More information about the Digitalmars-d-announce mailing list