TITLE: Address of inline functions and methods PROBLEM: x9999bvj@maple.circa.ufl.edu, 13 Dec 92 What is the official method for handling taking the address of an inline function? RESPONSE: dgrammel@dgrammel.mentorg.com Don't make it inline. RESPONSE: steve@taumet.com (Steve Clamage), 16 Dec 92 Nonsense. An inline function is just a function. You take its address in exactly the same way as you would any function of its type. Examples: inline int ordinary(int i) { return i; } int (*fp)(int) = ordinary; class X { public: int member(int i) { return i; } // inline }; int (X::*mfp)(int) = &X::member; In such cases, the compiler will create a callable version of the inline function for you, and use that address. You could then have both inline and non-inline uses of the function in the same program. Continuing the previous examples: foo() { int j = ordinary(3); // expanded inline int k = fp(4); // called via the pointer ... }