Conditional context for macros

Blogged on how to use __CALLER__.context and __CALLER__.context_modules to build macros, which behaviour depends on the context (different/extended abilities when in guard, when in match, elsewhere.)

https://rocket-science.ru/hacking/2021/02/13/conditional-context

2 Likes