2 ms·
My takeaway is the keyword's really just a hint anyhow. And that's borne out by the code dive.
by classichasclass 9y ago
My takeaway is the keyword's really just a hint anyhow. And that's borne out by the code dive.
- spc476 9y agoI use it to show intent, as functions I mark as inline are those that, pre-C99, would have most likely been a macro. I prefer the inline function over a macro as it prevents a certain class of errors and you get some additional type-checking that macros lack.