Best practice for the placement of inline functions in C++
<p>Which is better for short functions (e.g. getters and setters)</p>

<ol>
<li>In the class definition header file</li>
<li>At the end of the header file</li>
<li>In the source file (in this case should I use the <code>inline</code> keyword or <code>extern inline</code>?)</li>
</ol>
