When should I write the keyword inline for a function/method in C++?
inline
After seeing some answers, some related questions:
When should I <
1) Nowadays, pretty much never. If it's a good idea to inline a function, the compiler will do it without your help.
2) Always. See #1.
(Edited to reflect that you broke your question into two questions...)