sajty/ember — comment on commit bdf80d1bece1cc5512eebeb41a6e962b5c3b2557
File: src/components/ogre/EmberOgre.h line 164
By erikhjortsberg:

Yep, modern and competent compilers pretty much always inline getter methods. So these inlined getter methods aren't really needed; it could be put in the implementation part just as well.
But that doesn't change that the format for doing inlined methods in Ember is to always put it at the bottom of the header file, outside of the class declaration.

Do note that when doing it that way, the "inline" keyword is required and not just a hint. If you put it outside the class declaration but forget to use the "inline" keyword you will run into linker issues when there are two compilation units using the same getter. This however does not apply if you put it inside the class declaration though (i.e. then the "inline" keyword isn't needed).