I was reading this. It says that
Define functions inline only when they are small, say, 10 lines or less.
But Bjarne Stroustrup in his book Programming Principles and Practices using C++ says that:
Section 9.4: Defining member functions
"The obvious rule of thumb is: Don't put member function bodies in the class declaration unless you know that you need the performance boost from inlining tiny functions. Large functions, say five lines of code, don't benefit from inlining. We rarely inline a function that consists of more than one or two expressions.
So is it appropriate & helpful to define a function having 10 lines or at least 10 lines as inline. Doesn't that make program executable file size larger or even compiler can ignore the request for inlining such big function? Is Google C++ style gives incorrect guidelines about usage of inline functions in C++?