👩💻 Join our community of thousands of amazing developers!
You can declare a noinline inline function. void g(); // gcc __attribute__((noinline)) inline void f() { g(); } // MSVC __declspec(noinline) inline void f() { g(); } void tryme() { f(); f(); } What sorcery is this, a function that is both inline and not-inline? The post A noinline inline function? What sorcery is this? appeared first on The Old New Thing....