This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: empty function optimizations


<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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]