Hey fellas,
I've been reading this tutorial and the guy uses the inline keyword like this:
Now I'm not sure (that's why I'm asking) but I think I read somewhere that this was unecessary, because a function like this will automatically be considered for inlining (at the compilers discretion).Code:class Foo { public: inline bool Bar() { return FooBar; } }
Is that correct?