If the compiler does not inline a proc marked inline it probably has a very good reason, probably related to code being to big or not being in a hot path (and avoids polluting cache lines).
So I think it's fine not to use templates here.
If the compiler does not inline a proc marked inline it probably has a very good reason, probably related to code being to big or not being in a hot path (and avoids polluting cache lines).
So I think it's fine not to use templates here.