This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Missing inlines?
On Thu, Dec 11, 2003 at 12:56:06PM +0100, Joerg.Richter@pdv-FS.de wrote:
> >| Is this behavior standard? Or is this GCC specific?
> >
> >GCC behaviour is standard-required behaviour.
>
> Can you confirm it for GCC 3.2.1 or only for mainline?
G++ has correctly allowed templates to be defined in headers without the
"inline" keyword since it supported templates - well before version 3.
*If* it doesn't work correctly that is a compiler bug, not a bug in the
libstdc++-v3 library. The stl_algo.h header is fine.
jon
--
"It is useless to attempt to reason a man out of a thing
he was never reasoned into."
- Jonathan Swift