This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Missing inlines?
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