diff options
author | Paolo Carlini <pcarlini@suse.de> | 2004-01-28 10:37:32 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2004-01-28 10:37:32 +0000 |
commit | 234e0d312169ca44b701314d4f67c2a07cd5a896 (patch) | |
tree | ec59f9b8a30f81398a50bb6d291a5d0d8b9431a5 /gcc | |
parent | 220a38ab6e9973dac69fa339127b88b57e44dc9b (diff) | |
download | gcc-234e0d312169ca44b701314d4f67c2a07cd5a896.zip gcc-234e0d312169ca44b701314d4f67c2a07cd5a896.tar.gz gcc-234e0d312169ca44b701314d4f67c2a07cd5a896.tar.bz2 |
basic_string.h (_S_create(size_t, const _Alloc&): Change signature to take two size_type arguments.
2004-01-28 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.h (_S_create(size_t,
const _Alloc&): Change signature to take two size_type
arguments.
* include/bits/basic_string.tcc (_S_construct(_InIterator,
_InIterator, const _Alloc&, input_iterator_tag)): Update
call, tweak a bit.
(_S_construct(_InIterator, _InIterator, const _Alloc&,
forward_iterator_tag)): Likewise.
(_S_construct(size_type, _CharT, const _Alloc&)): Likewise.
(_M_mutate(size_type, size_type, size_type)): Don't
implement the exponential growth policy, demand it to
_S_create, update call and simplify.
(_M_clone(const _Alloc&, size_type)): Likewise.
(_S_create(size_type, size_type, const _Alloc&)): Implement
the growth policy, simplify otherwise.
* include/bits/basic_string.h (_Rep::operator[]): Tweak
signature to take a size_type, consistently with the other
members.
From-SVN: r76786
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions