Analyze debug condition in template

novice2 sorry at noem.ail
Tue Oct 26 15:08:13 UTC 2021

Thanks Kagamin!

One more way, i think,
mark function with UDA,
and then analize UDA in template.
But i have problem to implement this:

i have function name __FUNCTION__ in template as sting,
but __traits(getAttributes, __FUNCTION__) want symbol,
not string as second parameter :(

More information about the Digitalmars-d-learn mailing list