2004-01-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.tcc (operator+(const _CharT*,
const basic_string&)): No need to go through the append
taking two iterators.
From-SVN: r76517
+2004-01-24 Paolo Carlini <pcarlini@suse.de>
+
+ * include/bits/basic_string.tcc (operator+(const _CharT*,
+ const basic_string&)): No need to go through the append
+ taking two iterators.
+
2004-01-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.tcc (rfind(_CharT, size_type)):
const __size_type __len = _Traits::length(__lhs);
__string_type __str;
__str.reserve(__len + __rhs.size());
- __str.append(__lhs, __lhs + __len);
+ __str.append(__lhs, __len);
__str.append(__rhs);
return __str;
}