No, a trait or template to find out if a function is @nogc.

__trait(getFunctionAttributes, F) -- but it returns flags that are applicable only to function attributes

-tomer

Reply via email to