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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Use __builtin_clz* for __lg


Joe Buck wrote:
> Your "specializations" aren't specializations, but ordinary functions.
> I'm not sure whether this matters in practice, though.
>
> That is, you define __lg(int), not __lg<int>(int).
>   
Right. In fact I carefully used the term -overloads- in the ChangeLog.
> I guess this might matter when __lg is called from a template. 
>   
I went through the various uses and all seem safe to me.

Thanks,
Paolo.


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