Little demo of allowing basic types to implement interfaces.

Jacob Carlborg doob at me.com
Wed Sep 4 04:18:05 PDT 2013


On 2013-09-04 13:01, Rory McGuire wrote:
> yip, :) can't think of a reason except it was interesting. wish dmd
> didn't segfault when I used __MODULE__.
>
> on the plus side the requirement for a non basic type is the same
> requirement that #golang has on its interfaces.

Do you have a module declaration?

-- 
/Jacob Carlborg


More information about the Digitalmars-d-announce mailing list