diff options
author | Paolo Carlini <pcarlini@suse.de> | 2004-01-12 17:02:08 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2004-01-12 17:02:08 +0000 |
commit | dc6798f86565a8d31de69989cc27568ac7acb1e7 (patch) | |
tree | b10bbc00ff5a3a832933b613202d82eed4ed43dc /gcc | |
parent | 59774bb04716747d20b0df50d13e3ab062afeb95 (diff) | |
download | gcc-dc6798f86565a8d31de69989cc27568ac7acb1e7.zip gcc-dc6798f86565a8d31de69989cc27568ac7acb1e7.tar.gz gcc-dc6798f86565a8d31de69989cc27568ac7acb1e7.tar.bz2 |
locale_facets.h (struct __numpunct_cache): Add members _M_truename_len and _M_falsename_len...
2004-01-12 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.h (struct __numpunct_cache):
Add members _M_truename_len and _M_falsename_len, caching
the lengths of _M_truename and _M_falsename.
(__numpunct_cache<>::_M_cache): Assign the latter.
* include/bits/locale_facets.tcc (num_get::do_get(bool&),
num_put::do_put(bool)): Use the new members, thus avoiding
computing string lengths again and again.
* config/locale/generic/numeric_members.cc
(numpunct<>::_M_initialize_numpunct): Assign the new members.
* config/locale/gnu/numeric_members.cc
(numpunct<>::_M_initialize_numpunct): Likewise.
From-SVN: r75735
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions