aboutsummaryrefslogtreecommitdiff
path: root/libstdc++/std
AgeCommit message (Collapse)AuthorFilesLines
2001-02-05Remove V2 C++ library.Mark Mitchell19-5878/+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. From-SVN: r39445
2000-10-23std_valarray.h (valarray::valarray): Use __valarray_copy, not ↵Gabriel Dos Reis1-5/+5
__valarray_copy_construct. 2000-10-23 Gabriel Dos Reis <gdr@codesourcery.com> * std/std_valarray.h (valarray::valarray): Use __valarray_copy, not __valarray_copy_construct. From-SVN: r37016
2000-08-11straits.h (is_del): Boolify with !!.Jason Merrill3-6/+15
* std/straits.h (is_del): Boolify with !!. * std/bastring.cc (compare to charT*): Add rlen==n check. * std/bastring.h (Rep::grab): Add x86 atomic version. From-SVN: r35647
2000-08-04mask_array.h (mask_array): Rename template type parameter to avoid conflicts ↵David E O'Brien2-84/+84
with ctype.h on BSD systems. * std/mask_array.h (mask_array): Rename template type parameter to avoid conflicts with ctype.h on BSD systems. * std/slice_array.h (slice_array): Likewise. From-SVN: r35486
2000-07-17valarray_array.h (__valarray_sum): Make inline.Gabriel Dos Reis1-1/+1
2000-07-17 Gabriel Dos Reis <gdr@codesourcery.com> * std/valarray_array.h(__valarray_sum): Make inline. From-SVN: r35071
2000-07-15valarray_array.h (__valarray_get_memory, [...]): New functions.Gabriel Dos Reis3-86/+587
2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com> * std/valarray_array.h (__valarray_get_memory, __valarray_get_storage, __valarray_release_storage): New functions. (_Array_default_ctor, _Array_init_ctor, _Array_copy_ctor, _Array_copier): New traits classes. (__valarray_default_construct): New function. Implements valarray default construction. (__valarray_fill_construct): New function. Implements valarray construction with initializer. (__valarray_copy_construct): New function. Implements valarray copy construction. (__valarray_destroy_elements): New function. (__valarray_copy, __valarray_fill): Tweak. (__valarray_sum, __valarray_product): New helper functions. (_Array<>::free_data): Remove. (_Array<>::_Array): Tweak. * std/std_valarray.h (valarray<>::product): Remove. (valarray<>::valarray): Use __valarray_get_storage. (valarray<>::shift, valarray<>::cshift, valarray<>::resize): Tweak. * std/cpp_type_traits.h: New file. * valarray.cc (multiplies<>, accumulate, valarray<>::product): Remove explicit instantiation. (__valarray_product): New function. (_Indexer::_Indexer): Use. From-SVN: r35055
2000-07-14* std/bastring.h (basic_string<>::clear): Add function.Jean-Francois Panisset1-0/+2
From-SVN: r35035
2000-07-06gslice_array.h, [...]: Do not paste anything after 'operator' keyword.Zack Weinberg6-30/+30
* std/gslice_array.h, std/indirect_array.h, std/mask_array.h, std/slice_array.h, std/std_valarray.h, std/valarray_meta.h: Do not paste anything after 'operator' keyword. From-SVN: r34890
2000-03-10bastring.h (basic_string<>::push_back): Was missing.Gabriel Dos Reis1-0/+3
2000-03-10 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> * std/bastring.h (basic_string<>::push_back): Was missing. From-SVN: r32474
1999-12-15back out unrelated patch to std:: qualify reverse_iteratorMartin v. Löwis1-2/+2
From-SVN: r30940
1999-12-15bastring.h (basic_string::basic_string): Rename parameters to avoid shadow ↵Martin v. Löwis2-11/+11
warnings. * std/bastring.h (basic_string::basic_string): Rename parameters to avoid shadow warnings. * std/bastring.cc (alloc): Likewise. From-SVN: r30938
1999-12-14bastring.h (class basic_string::Rep): Use proper defines for sparc v9 and ↵Jakub Jelinek1-2/+7
fix asm for sparc64. * std/bastring.h (class basic_string::Rep): Use proper defines for sparc v9 and fix asm for sparc64. From-SVN: r30906
1999-11-19valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): Don't forget to define tanh.Gabriel Dos Reis1-1/+2
1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> * std/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): Don't forget to define tanh. From-SVN: r30580
1999-11-05valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When building ↵Gabriel Dos Reis1-1/+1
meta-expressions don't forget to take the contained closures. 1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> * std/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When building meta-expressions don't forget to take the contained closures. From-SVN: r30424
1999-10-19valarray_meta.h: (_BinClos::_BinClos): Fix typo.Gabriel Dos Reis1-1/+1
1999-10-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> * std/valarray_meta.h: (_BinClos::_BinClos): Fix typo. From-SVN: r30092
1999-09-171999-09017 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>Gabriel Dos Reis1-1/+1
* std/valarray_array.h (__valarray_copy): Fix typo. From-SVN: r29476
1999-09-17complext.cc (pow): Don't expect floating point promotion in presence of ↵Gabriel Dos Reis1-1/+1
template argument deduction. 1999-09-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> * std/complext.cc (pow): Don't expect floating point promotion in presence of template argument deduction. There is no such thing. From-SVN: r29474
1999-06-05* std/std_valarray.h: Don't #include unconditionally <alloca.h>Gabriel Dos Reis1-1/+25
From-SVN: r27364
1999-06-04std_valarray.h: New file.Gabriel Dos Reis10-0/+3048
* std/std_valarray.h: New file. * 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. From-SVN: r27354
1999-06-01bastring.h (class basic_string:Rep): Encode xlock opcode as .bytes instead ↵Robert Lipe1-2/+9
of mnemonics. Wed Jun 2 00:21:54 1999 Robert Lipe <robertlipe@usa.net> * std/bastring.h (class basic_string:Rep): Encode xlock opcode as .bytes instead of mnemonics. From-SVN: r27295
1999-05-07(class basic_string::Rep): Make release member function thread-safe forUlrich Drepper1-0/+27
ix86 (x>=4) and UltraSPARC. From-SVN: r26820
1999-02-20string, [...]: Revert recent change.Jeffrey A Law2-12/+5
* string, std/straits.h, std/bastring.h: Revert recent change. Needs some libiberty support before it can be re-enabled. From-SVN: r25336
1999-02-16Remove #if 0/#endif from around struct string_char_traits <wchar_t>.Baron Roberts1-4/+10
#include <cwchar>. Add missing definition for wchar_t move method. Add empty() method for trait-based empty string return. From-SVN: r25247
1999-02-16(c_str): Change return of "" to return of traits::empty() call so that proper...Baron Roberts1-1/+2
(c_str): Change return of "" to return of traits::empty() call so that proper empty string is returned based on the character type (i.e. "" or L""). From-SVN: r25246
1998-11-30(operator>>): Correct cast in last patch.Ulrich Drepper1-2/+2
(getline): Likewise. From-SVN: r24011
1998-11-23(operator>>): Cast new character to char before adding to string.Ulrich Drepper1-3/+3
(getline): Likewise. From-SVN: r23786
1998-07-11Makefile.in (VERSION): Bump to 2.9.0.Jason Merrill1-3/+9
* Makefile.in (VERSION): Bump to 2.9.0. * std/bastring.cc (find_last_of): Fix. (find_last_not_of): Likewise. From-SVN: r21072
1998-07-06(class basic_string): Correct iterator return values in insert memberUlrich Drepper1-2/+6
functions. From-SVN: r20950
1998-07-02(class basic_string): Return correct iterators in erase member functions.Ulrich Drepper1-2/+6
From-SVN: r20906
1998-05-11[multiple changes]Jeff Law2-2/+2
Tue Mar 24 10:13:07 1998 Jason Merrill <jason@yorick.cygnus.com> * 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. From-SVN: r19684
1998-01-25bastring.h (unique): We only need length bytes.Jason Merrill2-38/+5
* std/bastring.h (unique): We only need length bytes. (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. From-SVN: r17478
1998-01-05bastring.cc (basic_string::Rep::operator delete): Don't claim to return from ↵Brendan Kehoe1-3/+3
deallocate, since this is a void method. * std/bastring.cc (basic_string::Rep::operator delete): Don't claim to return from deallocate, since this is a void method. From-SVN: r17297
1997-12-07bastring.h: Move closer to the draft standard implementation of basic_string ↵Jody Goldberg2-173/+204
by adding 3... Sun Dec 7 02:34:40 1997 Jody Goldberg <jodyg@idt.net> * 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. From-SVN: r16993
1997-11-26London changes to string:Jason Merrill2-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. From-SVN: r16722
1997-10-10bastring.h: Use ibegin internally.Jason Merrill2-12/+12
* std/bastring.h: Use ibegin internally. Return passed iterator instead of recalculating it were appropriate. * std/bastring.cc: Adjust for erase. From Yotam Medini: * std/bastring.h: Replace remove with erase. From-SVN: r15887
1997-10-10stdexcepti.cc (__out_of_range): New fn.Jason Merrill5-38/+110
* stdexcepti.cc (__out_of_range): New fn. (__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. From-SVN: r15885
1997-10-02bastring.h: Move exception stuff after definition of string.Jason Merrill1-26/+37
* std/bastring.h: Move exception stuff after definition of string. Move typedef of string here. * string: From here. From-SVN: r15832
1997-09-28[multiple changes]Jason Merrill5-140/+27
Sat Sep 27 16:48:00 1997 Jason Merrill <jason@yorick.cygnus.com> * 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. From-SVN: r15776
1997-09-25bastring.h: Enable exceptions.Jason Merrill1-19/+64
* std/bastring.h: Enable exceptions. (assign, append, insert, replace): Implement member template versions. * tstring.cc: Add some tests for the member templates. From-SVN: r15717
1997-09-11bastring.h (class basic_string): Add global scope to use of reverse_iterator.Jason Merrill1-2/+2
* std/bastring.h (class basic_string): Add global scope to use of reverse_iterator. From-SVN: r15423
1997-09-09* std/bastring.h: Adjust use of reverse_iterator template.Jason Merrill1-4/+2
From-SVN: r15212
1997-08-25[multiple changes]Jason Merrill1-6/+18
Mon Aug 25 14:26:45 1997 Jason Merrill <jason@yorick.cygnus.com> * 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. From-SVN: r14922
1997-08-21Initial revisionJason Merrill8-0/+2213
From-SVN: r14877