summaryrefslogtreecommitdiffstats
path: root/libstdc++/std/bastring.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove V2 C++ library.mmitchel2001-02-051-526/+0
| | | | | | | | | | | * configure.in: Remove --enable-libstdcxx_v3 support. * Makefile.in (site.exp): Always set HAVE_LIBSTDCXX_V3. * configure.in: Remove --enable-libstdcxx_v3 support. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39445 138bc75d-0d04-0410-961f-82ee72b054a4
* * std/straits.h (is_del): Boolify with !!.jason2000-08-111-1/+3
| | | | | | | | * std/bastring.cc (compare to charT*): Add rlen==n check. * std/bastring.h (Rep::grab): Add x86 atomic version. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35647 138bc75d-0d04-0410-961f-82ee72b054a4
* * std/bastring.h (basic_string::basic_string): Rename parametersloewis1999-12-151-5/+5
| | | | | | | | to avoid shadow warnings. * std/bastring.cc (alloc): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30938 138bc75d-0d04-0410-961f-82ee72b054a4
* (operator>>): Correct cast in last patch.drepper1998-11-301-2/+2
| | | | | | | (getline): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24011 138bc75d-0d04-0410-961f-82ee72b054a4
* (operator>>): Cast new character to char before adding to string.drepper1998-11-231-3/+3
| | | | | | | (getline): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23786 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (VERSION): Bump to 2.9.0.jason1998-07-121-3/+9
| | | | | | | | * std/bastring.cc (find_last_of): Fix. (find_last_not_of): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21072 138bc75d-0d04-0410-961f-82ee72b054a4
* Tue Mar 24 10:13:07 1998 Jason Merrill <jason@yorick.cygnus.com>law1998-05-111-1/+1
| | | | | | | | | | | * std/bastring.cc (basic_string::copy): Mark const here, too. 1998-03-23 15:59 Ulrich Drepper <drepper@cygnus.com> * std/bastring.h (basic_string::copy): Mark copy function as const. Reported by Scott Schurr <scotts@ims.com>. Bring over from devo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19684 138bc75d-0d04-0410-961f-82ee72b054a4
* * std/bastring.h (unique): We only need length bytes.jason1998-01-251-22/+1
| | | | | | | | | | | | | (c_str): Avoid writing over random memory. #include <std/bastring.cc>. Lose _G_ALLOC_CONTROL. * std/bastring.cc: Likewise. (nilRep): Add initializer for selfish. * sinst.cc: Just #include <string>. Fix a couple of bugs, linux undefined symbol problem. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17478 138bc75d-0d04-0410-961f-82ee72b054a4
* * std/bastring.cc (basic_string::Rep::operator delete): Don't claimbrendan1998-01-051-3/+3
| | | | | | | to return from deallocate, since this is a void method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17297 138bc75d-0d04-0410-961f-82ee72b054a4
* Sun Dec 7 02:34:40 1997 Jody Goldberg <jodyg@idt.net>jason1997-12-071-97/+121
| | | | | | | | | | | | | * libstdc++/std/bastring.h : Move closer to the draft standard implementation of basic_string by adding 3 paramter 'Allocator'. NOTE: this still differs from the standard in not offering per instance allocators. * libstdc++/std/bastring.cc : Likewise. * libstdc++/stlinst.cc : Handle thread safe allocators if they are the default. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16993 138bc75d-0d04-0410-961f-82ee72b054a4
* London changes to string:jason1997-11-261-0/+1
| | | | | | | | | * std/bastring.cc (check_realloc): Don't be selfish anymore. * std/bastring.h (non-const operator[]): Be selfish. (iterator forms of insert and erase): Stay selfish. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16722 138bc75d-0d04-0410-961f-82ee72b054a4
* * std/bastring.h: Use ibegin internally. Return passed iteratorjason1997-10-101-1/+1
| | | | | | | | | | | instead of recalculating it were appropriate. * std/bastring.cc: Adjust for erase. From Yotam Medini: * std/bastring.h: Replace remove with erase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15887 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisionjason1997-08-211-0/+514
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14877 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud