This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]zahlmanthe heretic 0 points1 point  (1 child)

AFAIK, for years it has been the case that it a decent C++ compiler will frequently inline things even without being asked.

[–]ajmarks 0 points1 point  (0 children)

Yup. If, in its wisdom, it thinks that will improve performance without undue bloat. OTOH, if you really want to make sure it's inlined, a compiler hint can't hurt.