xxxxxxxxxx
module thisModule;
struct MW_ {}
const(MW_)* one;
const(MW_)* two;
void main()
{
import std.stdio;
foreach(memberName ; __traits(allMembers, thisModule))
{
alias member = __traits(getMember, thisModule, memberName);
static if(is(typeof(member) : const(MW_)*)) {
writeln(memberName, ": ", member);
}
}
}