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!

Reply via email to