How to make ddoc/ddox output alias name instead of template

Steven Schveighoffer schveiguy at
Sun Apr 19 17:06:32 UTC 2020

Let's say I'm using TaggedAlgebraic [1]

I have a specialized union:

union _MTYPE
   int val;
   string sval;

And now I want to use this type everywhere:

alias MType = TaggedAlgebraic!_MTYPE;

Everywhere in my docs where I have a nice function like:

void foo(MType m)

It spits out:

void foo(TaggedAlgebraic!( m)

I'd rather the documentation use MType everywhere. Is there a way to 
force this?

I'm specifically looking for ddox to do this, but any information is 



More information about the Digitalmars-d-learn mailing list