This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/29134] Has there been a serious attempt to define the max_size() member functions?



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]