3 ms·
The inline keyword should really have been intended for call sites rather than definitions. Perhaps language designers thought that if a function needs to be i
by srean 1y ago
The inline keyword should really have been intended for call sites rather than definitions.
Perhaps language designers thought that if a function needs to be inlined everywhere, it would lead to verbose code. In any case, it's a weak hint that compilers generally treat with much disdain.