Function definition in multiple modules
Martin Drasar
drasar at ics.muni.cz
Thu Mar 29 04:24:41 PDT 2012
On 29.3.2012 13:05, simendsjo wrote:
> It's not string mixins:
> mixin template XIA() {
> void a() { ... } // regular function
> }
> class X : IA {
> mixin XIA!()
> }
>
> XIA is injected into X, so X now looks like
> class X : IA {
> void a() { ... }
> }
I should have thought and experiment more before writing. Did a quick
test and the gdb jumps nicely into the mixin template. So the debugging
is a breeze.
Thanks simendsjo for your help. I think that I know now everything I needed.
Regards
Martin
More information about the Digitalmars-d-learn
mailing list