Actually, I have a question...
The C++ tutorial I'm reading has a section on how to inline functions.
Now *clearly* the compiler cannot inline something that it can't *find*.
So all that stuff about putting code into header files if you want it
inlined across compilation units is a necessary part of the way a C++
compiler works. But does C++ ever inline functions within *the same*
compilation unit automatically? Or does it literally refuse to inline
every function that doesn't say "inline" on it?
Post a reply to this message
|