Jacob Carlborg:
Is it possible to also write:checkVirtual!myModuleName; And verify all the classes in a module?
Or something like: checkVirtual!(__MODULE__);
Not with this version. I tried that first but I couldn't get __traits(allMembers) to work on a module. I think by overriding RTInfo it will be more automatic.
If there are some things that don't give you enough static introspection to perform that, then it's worth adding that missing static introspection to D language.
Bye, bearophile
