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: RFC: fp printing speedup patch


Paolo Carlini wrote:

Therefore, after all, I don't think the various __*_to_char should be
templates parameterized on _CharT, but simple functions working on
chars, perhaps including the widen(c) loop at the end.

... well, of course if we want for the widen(c) loop to be *inside* the various __*_to_char functions those must be template in order to pick the right ctype<charT>::widen.

Probably it's cleaner to have the widen(c) loop part of _M_insert_int
and _M_indert_float.

Paolo.


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