Idea to verify virtual/final methods

Jacob Carlborg doob at me.com
Tue Jun 4 04:01:49 PDT 2013


On 2013-06-04 12:45, bearophile wrote:

> Is it possible to also write:
>
> checkVirtual!myModuleName;
>
> And verify all the classes in a 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.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list