This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: empty function optimizations
- To: "'Martin v. Loewis'" <martin at loewis dot home dot cs dot tu-berlin dot de>, "gcc (E-mail)" <gcc at gcc dot gnu dot org>
- Subject: RE: empty function optimizations
- From: Jan Reimers <janr at molienergy dot bc dot ca>
- Date: Wed, 12 Jul 2000 14:22:29 -0700
<Snip>
>
> There are different cases. In some cases, the template functions are
> independent from the template parameter, e.g. std::list::begin. What
> template function are you thinking of that only depends on sizeof(T)?
> I don't think there are so many of them in the STL.
I thought that any function calling operator++ on an iterator would need to
know sizeof(T)?
JR