Robert Fraser wrote: > Sounds like a great application of macros... Something like this: > > macro test(e : A == B) > { > writefln("%s: %s", e.stringof, e ? "true", "false"); > writefln(" %s = %s", A.stringof, A); > writefln(" %s = %s", B.stringof, B); > } Yep. Just gotta wait for D 3.0 :) (or whatever version it will be)