summaryrefslogtreecommitdiff
path: root/libstdc++/std
Commit message (Collapse)AuthorAgeFilesLines
* 2000-03-10 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>gdr2000-03-101-0/+3
| | | | | | | * std/bastring.h (basic_string<>::push_back): Was missing. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32474 138bc75d-0d04-0410-961f-82ee72b054a4
* back out unrelated patch to std:: qualify reverse_iteratorloewis1999-12-151-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30940 138bc75d-0d04-0410-961f-82ee72b054a4
* * std/bastring.h (basic_string::basic_string): Rename parametersloewis1999-12-152-11/+11
| | | | | | | | 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
* * std/bastring.h (class basic_string::Rep): Use proper definesjakub1999-12-141-2/+7
| | | | | | | for sparc v9 and fix asm for sparc64. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30906 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>gdr1999-11-191-1/+2
| | | | | | | | * std/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): Don't forget to define tanh. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30580 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>gdr1999-11-051-1/+1
| | | | | | | | | * std/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When building meta-expressions don't forget to take the contained closures. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30424 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-10-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>gdr1999-10-191-1/+1
| | | | | | | * std/valarray_meta.h: (_BinClos::_BinClos): Fix typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30092 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-09017 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>gdr1999-09-171-1/+1
| | | | | | | * std/valarray_array.h (__valarray_copy): Fix typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29476 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-09-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>gdr1999-09-171-1/+1
| | | | | | | | | * std/complext.cc (pow): Don't expect floating point promotion in presence of template argument deduction. There is no such thing. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29474 138bc75d-0d04-0410-961f-82ee72b054a4
* * std/std_valarray.h: Don't #include unconditionally <alloca.h>gdr1999-06-051-1/+25
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27364 138bc75d-0d04-0410-961f-82ee72b054a4
* * std/std_valarray.h: New file.gdr1999-06-0410-0/+3048
| | | | | | | | | | | | | | | | | | | | | * std/slice.h: New file. * std/slice_array.h: New file. * std/gslice.h: New file. * std/gslice_array.h: New file. * std/mask_array.h: New file. * std/indirect_array.h: New file. * std/valarray_array.h: New file. * std/valarray_array.tcc: New file. * std/valarray_meta.h: New file. * valarray.cc: New file. * valarray: New file * Makefile.in (OBJS): add valarray.o (HEADERS): add valarray (valarray.o): define dependency on valarray.cc (install): make it possible to install valarray files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27354 138bc75d-0d04-0410-961f-82ee72b054a4
* Wed Jun 2 00:21:54 1999 Robert Lipe <robertlipe@usa.net>law1999-06-011-2/+9
| | | | | | | | * std/bastring.h (class basic_string:Rep): Encode xlock opcode as .bytes instead of mnemonics. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27295 138bc75d-0d04-0410-961f-82ee72b054a4
* (class basic_string::Rep): Make release member function thread-safe fordrepper1999-05-071-0/+27
| | | | | | | ix86 (x>=4) and UltraSPARC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26820 138bc75d-0d04-0410-961f-82ee72b054a4
* * string, std/straits.h, std/bastring.h: Revert recent change. Needslaw1999-02-202-12/+5
| | | | | | | some libiberty support before it can be re-enabled. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25336 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove #if 0/#endif from around struct string_char_traits <wchar_t>.drepper1999-02-161-4/+10
| | | | | | | | | #include <cwchar>. Add missing definition for wchar_t move method. Add empty() method for trait-based empty string return. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25247 138bc75d-0d04-0410-961f-82ee72b054a4
* (c_str): Change return of "" to return of traits::empty() call so thatdrepper1999-02-161-1/+2
| | | | | | | | proper empty string is returned based on the character type (i.e. "" or L""). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25246 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
* (class basic_string): Correct iterator return values in insert memberdrepper1998-07-061-2/+6
| | | | | | | functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20950 138bc75d-0d04-0410-961f-82ee72b054a4
* (class basic_string): Return correct iterators in erase member functions.drepper1998-07-021-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20906 138bc75d-0d04-0410-961f-82ee72b054a4
* Tue Mar 24 10:13:07 1998 Jason Merrill <jason@yorick.cygnus.com>law1998-05-112-2/+2
| | | | | | | | | | | * 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-252-38/+5
| | | | | | | | | | | | | (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-072-173/+204
| | | | | | | | | | | | | * 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-262-5/+6
| | | | | | | | | * 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-102-12/+12
| | | | | | | | | | | 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
* * stdexcepti.cc (__out_of_range): New fn.jason1997-10-105-38/+110
| | | | | | | | | | | | | | (__length_error): New fn. * std/bastring.h (OUTOFRANGE): Fix logic. Use throwing functions. (LENGTHERROR): Likewise. Revert Oct 2 changes. * string: Revert Oct 2 changes. * std/{f,d,ld}complex.h: Replace guiding fns if not -ansi. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15885 138bc75d-0d04-0410-961f-82ee72b054a4
* * std/bastring.h: Move exception stuff after definition of string.jason1997-10-021-26/+37
| | | | | | | | Move typedef of string here. * string: From here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15832 138bc75d-0d04-0410-961f-82ee72b054a4
* Sat Sep 27 16:48:00 1997 Jason Merrill <jason@yorick.cygnus.com>jason1997-09-285-140/+27
| | | | | | | | | | | | | | | | | | | * std/complext.h: Lose injection decls. * std/fcomplex.h: Likewise. * std/dcomplex.h: Likewise. * std/ldcomplex.h: Likewise. Sat Sep 27 16:47:35 1997 Mark Mitchell <mmitchell@usa.net> * std/complext.h: Declare templates before making them friends. Use new friend <> syntax. * std/complext.cc: Don't rely on guiding declarations. * std/fcomplex.h: Use new friend <> syntax. * std/dcomplex.h: Likewise. * std/ldcomplex.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15776 138bc75d-0d04-0410-961f-82ee72b054a4
* * std/bastring.h: Enable exceptions.jason1997-09-261-19/+64
| | | | | | | | | (assign, append, insert, replace): Implement member template versions. * tstring.cc: Add some tests for the member templates. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15717 138bc75d-0d04-0410-961f-82ee72b054a4
* * std/bastring.h (class basic_string): Add global scope tojason1997-09-121-2/+2
| | | | | | | use of reverse_iterator. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15423 138bc75d-0d04-0410-961f-82ee72b054a4
* * std/bastring.h: Adjust use of reverse_iterator template.jason1997-09-101-4/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15212 138bc75d-0d04-0410-961f-82ee72b054a4
* Mon Aug 25 14:26:45 1997 Jason Merrill <jason@yorick.cygnus.com>jason1997-08-261-6/+18
| | | | | | | | | | | | | | * Makefile.in (CXXFLAGS): Add -Weffc++. Sat Aug 23 21:25:37 1997 Mark Mitchell <mmitchell@usa.net> * bastring.h: Enable reverse_iterator and its ilk. * bastring.h: Provide specializations of member function templates for const_iterator. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14922 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisionjason1997-08-218-0/+2213
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14877 138bc75d-0d04-0410-961f-82ee72b054a4