how to determine if type is final/abstract

Jacob Carlborg doob at me.com
Thu Jul 11 23:38:53 PDT 2013


On 2013-07-12 00:45, JS wrote:

> I believe the issue is that isFinalFunction requires an actual function
> symbol but I'm passing it a string?
>
>
> How can I get this to work?

Have you tried using a mixin?

__traits(isFinalFunction, mixin(className ~ "." ~ member));

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list