Age | Commit message (Collapse) | Author |
|
(getline): Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24011 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
(getline): Likewise.
git-svn-id: https://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: https://gcc.gnu.org/svn/gcc/trunk@21072 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
functions.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@20950 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://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: https://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: https://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: https://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: https://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: https://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: https://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: https://gcc.gnu.org/svn/gcc/trunk@15885 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Move typedef of string here.
* string: From here.
git-svn-id: https://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: https://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: https://gcc.gnu.org/svn/gcc/trunk@15717 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
use of reverse_iterator.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@15423 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://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: https://gcc.gnu.org/svn/gcc/trunk@14922 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@14877 138bc75d-0d04-0410-961f-82ee72b054a4
|