This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/29134] Has there been a serious attempt to define the max_size() member functions?
- From: "paolo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Sep 2006 10:34:58 -0000
- Subject: [Bug libstdc++/29134] Has there been a serious attempt to define the max_size() member functions?
- References: <bug-29134-13273@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #17 from paolo at gcc dot gnu dot org 2006-09-21 10:34 -------
Subject: Bug 29134
Author: paolo
Date: Thu Sep 21 10:34:48 2006
New Revision: 117109
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117109
Log:
2006-09-21 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/29134 (ext/vstring bits)
* include/ext/sso_string_base.h (__sso_string_base<>::_S_max_size):
Remove.
(__sso_string_base<>::_M_max_size): Use allocator' max_size.
(__sso_string_base<>::_M_create): Adjust.
* include/ext/vstring.h: Minor comment tweak.
* testsuite/ext/vstring/capacity/29134.cc: New.
Added:
trunk/libstdc++-v3/testsuite/ext/vstring/capacity/
trunk/libstdc++-v3/testsuite/ext/vstring/capacity/29134.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/ext/sso_string_base.h
trunk/libstdc++-v3/include/ext/vstring.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29134