Inline member functions u Implicit inline member function Member functions defined in the class body, automatically regarded as inline functions Eg, STack; size( a,class scope resolution operator Explicit inline member function Member functions if defined outside the class body inline should be manually specified inline bool CStack: emptyoi return m_ stack. empty o:y a Definitions of both types inline functions should be placed in the head file, for better visibilityInline member functions ◼ Implicit inline member function ◼ Member functions defined in the class body, automatically regarded as inline functions ◼ Eg. CStack::size() ◼ :: – class scope resolution operator ◼ Explicit inline member function ◼ Member functions if defined outside the class body, ‘inline’ should be manually specified ◼ Eg. inline bool CStack::empty() { return m_stack.empty(); } ◼ Definitions of both types inline functions should be placed in the head file, for better visibility