+2004-02-24 Paolo Carlini <pcarlini@suse.de>
+
+ * include/bits/locale_facets.tcc (money_put<>::_M_insert):
+ Prefer basic_string::append to operator+= and a temporary.
+
2004-02-23 Benjamin Kosnik <bkoz@redhat.com>
* libsupc++/vterminate.cc (__gnu_cxx::__verbose_terminate_handler):
// formatting is required, an arbitrary number of
// fill spaces will be necessary.
if (__testipad)
- __res += string_type(__width - __len, __fill);
+ __res.append(__width - __len, __fill);
else
__res += __fill;
break;
case money_base::none:
if (__testipad)
- __res += string_type(__width - __len, __fill);
+ __res.append(__width - __len, __fill);
break;
}
}
__res.append(__width - __len, __fill);
else
// Before.
- __res.insert(0, string_type(__width - __len, __fill));
+ __res.insert(0, __width - __len, __fill);
__len = __width;
}