caspers@fwi.uva.nl (B.M. Caspers (I)) (03/01/91)
When you try to take the address of an inline function, call it before it is defined, use static variables in inline functions, iteration statements etcetera, the function is not really inlined. Turbo C++ puts the function in a `virtual segment', as can be seen by compiling with the -S command switch. What does this mean? The assembly code for an `inline' void f(int) looks like this: @f$qi segment virtual assume cs:_TEXT @@f$qi proc near ... @@f$qi endp @f$qi ends Does anyone know why the compiler does this? John