Message-ID: <32C920E8.3F3ADB44@caresystems.com.au> Date: Wed, 01 Jan 1997 00:19:20 +1000 From: leon X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: about compiler or linker References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Kalum Somaratna aka Grendel wrote: > > On Mon, 1 Jan 2001, leon wrote: > > Well the compiler knows where to get the inlined function from because the > inlined function should be defined in a header file. huh?! so what about this then: //the .h file class Some { public: Some(); ~Some(); inline void Method(); }; //the .cpp file Some::Some() { ; } Some::~Some() { ; } void Some::Method() { ; } now if some class uses Some.h file - it will NOT contain the source code definition of Method! am i going wrong somewhere? WIth best regards - Leon