This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: ctype optimization work
Jerry Quinn wrote:
I just looked closer at this. One problem is that you can't build the
table in the ctype<wchar_t> constructor. There's no way to delay the
table construction until a derived class constructor finishes
executing. If you construct the table too soon, that may break a
derived do_narrow function.
I don't follow, honestly. My idea is really straightforward, identical
to what currently *already* happens for moneypunt and numpunct and
_M_initialize_moneypunct() and _M_initialize_numpunct(). Could you
possibly explain your concerns in better detail?
Paolo.