[c++] When should I write the keyword 'inline' for a function/method?