| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30940 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27364 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
ix86 (x>=4) and UltraSPARC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26820 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
#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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
(getline): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24011 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
(getline): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23786 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20950 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20906 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(__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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
|
| |
use of reverse_iterator.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15423 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15212 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14877 138bc75d-0d04-0410-961f-82ee72b054a4
|