Extending an interface or class outside of it

Jacob Carlborg doob at me.com
Mon Nov 25 23:31:44 PST 2013


On 2013-11-26 01:27, Frustrated wrote:
> I have some type of automatically generated interface using a mixin an
> would like to extend them after they are generated:
>
>      mixin(GenerateMyInterface!(...));
>
>      ... <Here I would like to add some members/methods to MyInterface
> which was generated above> ...

Since you're generating the interface in the first place, can't you 
generate it correctly to begin with.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list