In my understanding, member functions defined inside a class definition are implicitly inline:
class X {
int f() { return 1; } // Implicitly inline.
};
int g() { return 2; } // Not implicitly inline.
I was looking for the standard quote to support this, but I can only find basic.link/7:
In addition, a member function, static data member, a named class or enumeration of class scope, or an unnamed class or enumeration defined in a class-scope typedef declaration such that the class or enumeration has the typedef name for linkage purposes ([dcl.typedef]), has the same linkage, if any, as the name of the class of which it is a member.
I can't find anything relevant in dcl.typedef that relates to simple class definitions (without typedef being involved).
Am I looking in the right place? If not, what and where is the exact standard wording?