Example: /** test type */ struct A(bool T) { static if (T) { /// Case 1 int ok(){ return 1; } } else { /// case 2 int notok(){ return 1; } }
/// Other int other() { return 0; } } /// unittest { A!true x; A!false y; }In documents generated by ddoc, only case 1 is included. In documents generated by ddox, none of the cases is included.
What's the proper way to write document in this case?