class S { public: int square(int s); // declare the function }; inline int S::square(int s) // use inline prefix { }