Missing inlines?

Gabriel Dos Reis gdr@integrable-solutions.net
Thu Dec 11 10:09:00 GMT 2003


Jonathan Wakely <cow@compsoc.man.ac.uk> writes:

[...]

| > But Bo Persson wrote that templates are automatic inline. So it should not
| > matter. But it is interesting why it seems to fix my problems.
| 
| No, they're not automatically inline.

Yes.

Unfortunately, some broken proprietary compilers have managed to make
their users into believeing that they have to put "inline" in the
definition of their templates.  Thus perverting the meaning of
"inline". And they go on introducing "__forceinline" for approximating
the meaning of "inline" :-(

-- Gaby



More information about the Libstdc++ mailing list