#include #include using namespace std; class obj { int i; public: obj(int initial_i): i {initial_i} {} //inline constructor void f() const; //not inline member function }; void obj::f() const { cout << "The address of this object is " << this << ".\n"; cout << "The size in bytes of this object is " << sizeof *this << ".\n"; } int main() { const obj ob {10}; ob.f(); return EXIT_SUCCESS; }