--> Javier Kohen wrote to Cliff Rhodes <--
JK>On 21-Aug-97, Cliff Rhodes wrote to Javier Kohen about inline
JK>const;.
JK> JK>> /* This should be "inline Boolean installed() const;". */
JK> JK>> Boolean installed() const;
JK> CR> It won't be inline unless you define it here inside the class
JK> CR> OR you define it outside the class but still inside the
JK> CR> header.
JK>Ok, but IIRC I have no problem using inline functions defined
JK>outside the header; the inline const is my only problem.
Are you sure? Any inline definition must be visible to any module that
uses it. If you define an inline function outside of a header file, it
must be local to one module. How else could the compiler 'inline' the
code?
Cliff Rhodes
cliff.rhodes@juge.com
crhodes@flash.net
X CMPQwk 1.42 1692 X"Better a lean peace than a fat victory." - Thomas Fuller
--- Maximus/2 3.01
---------------
* Origin: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671 (1:106/2000)
|