Inline is only implied if the method is defined inside the class 
definition. There is nothing special about the text being in a header 
file, the compiler produces exactly the same result if you paste the 
text in place of the #include.

On 09/23/2011 11:46 AM, Greg Ercolano wrote:
> On 09/23/11 09:40, Bill Spitzak wrote:
>> Functions defined in the body of the code in a .h file end inlined:
>
>       Ick, I didn't know 'inline' would be implied if the code was
>       implemented in the .H file.
>
>       So it sounds like if an app /dynamically/ builds against a lib
>       whose version is 1.1, any app calls to that method get the
>       1.1 version of the code 'burned' into it.
>
>       Then later, if the app is run on a user's machine with an
>       older 1.0 version of the lib installed, the lib's calls to
>       that function run the older 1.0 version, and the app's
>       version runs the newer 1.1 version?
>
>       If so.. that sounds a bit scary in a dynamic lib environment.

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to