Template: get function name

novice3 sorryno at em.ail
Mon Aug 17 09:12:36 UTC 2020


On Monday, 17 August 2020 at 08:55:49 UTC, Simen Kjærås wrote:
> Take the function as an alias parameter and wrap the entire 
> call:
>
> auto denforce(alias fn, string file = __FILE__, size_t line = 
> __LINE__, Args...)(Args args)

Thank you, Simen!


More information about the Digitalmars-d-learn mailing list