Commit Graph

128 Commits

Author SHA1 Message Date
Jason Merrill
f4f3e8fdf7 London changes to string:
* 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-11-26 02:19:11 -05:00
H.J. Lu
6ec3cb8413 Makefile.in (stmp-complex, [...]): Changed to xxxx-complx.
* Makefile.in (stmp-complex, bigstmp-complex): Changed to
        xxxx-complx.

From-SVN: r16705
1997-11-25 14:02:19 -07:00
Jeffrey A Law
c77289885d * Makefile.in: Use ln -f -s, not ln -s -f.
From-SVN: r16693
1997-11-24 14:41:29 -07:00
Manfred Hollstein
7b2f827617 Makefile.in (bigstmp-complex): Name changed to bigstmp-complx to cope with filesystem not capable to handle...
* Makefile.in (bigstmp-complex): Name changed to bigstmp-complx to
	cope with filesystem not capable to handle names longer than
	14 characters.

From-SVN: r16664
1997-11-21 20:36:10 -07:00
Jeffrey A Law
9671be8f8a * Makefile.in (SHLIB): Build with CC instead of CXX.
From-SVN: r16528
1997-11-16 22:41:36 -07:00
Jason Merrill
c64e3181fe fix typo
From-SVN: r16364
1997-11-08 03:51:15 -05:00
Jason Merrill
29088d20b7 fix typo
From-SVN: r16357
1997-11-07 13:29:13 -05:00
Jason Merrill
0cdff4f223 stl_algo.h, [...]: Update to October 28 SGI release.
* stl_algo.h, stl_algobase.h, stl_bvector.h,
 	stl_deque.h: Update to October 28 SGI release.

From-SVN: r16351
1997-11-06 14:21:38 -05:00
Manfred Hollstein
58d0cbe742 configure.in: Use delta.mt for m68k-motorola-sysv.
* configure.in: Use delta.mt for m68k-motorola-sysv.
        * config/delta.mt: New makefile fragment.

From-SVN: r16299
1997-11-02 23:33:01 -07:00
Jason Merrill
bb84e66919 Makefile.in (install): Some of HEADERS come from the stl dir now.
* Makefile.in (install): Some of HEADERS come from the stl dir now.
	* algorithm, deque, functional, iterator, list, map, memory, numeric,
 	queue, set, stack, utility, vector: Now in stl dir.

stl/:
	* algo.h, algobase.h, alloc.h, bvector.h, defalloc.h, deque.h,
 	function.h, hash_map.h, hash_set.h, hashtable.h, heap.h, iterator.h,
 	list.h, map.h, multimap.h, multiset.h, pair.h, pthread_alloc.h,
 	rope.h, ropeimpl.h, set.h, slist.h, stack.h, stl_config.h, tempbuf.h,
 	tree.h, type_traits.h, vector.h: Update to October 27 SGI snapshot.
	* algorithm, deque, functional, hash_map, hash_set, iterator, list,
 	map, memory, numeric, pthread_alloc, queue, rope, set, slist, stack,
 	stl_algo.h, stl_algobase.h, stl_alloc.h, stl_bvector.h,
 	stl_construct.h, stl_deque.h, stl_function.h, stl_hash_fun.h,
 	stl_hash_map.h, stl_hash_set.h, stl_hashtable.h, stl_heap.h,
 	stl_iterator.h, stl_list.h, stl_map.h, stl_multimap.h, stl_multiset.h,
 	stl_numeric.h, stl_pair.h, stl_queue.h, stl_raw_storage_iter.h,
 	stl_relops.h, stl_rope.h, stl_set.h, stl_slist.h, stl_stack.h,
 	stl_tempbuf.h, stl_tree.h, stl_uninitialized.h, stl_vector.h,
 	utility, vector: New files in October 27 SGI snapshot.

From-SVN: r16277
1997-11-02 15:28:22 -05:00
Jason Merrill
8070c78887 * tree.h, vector.h: Fix accidental divergence from SGI release.
From-SVN: r15989
1997-10-17 22:09:13 -04:00
Jason Merrill
9cd60aa99b bastring.h: Use ibegin internally.
* 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-10 03:44:56 -04:00
Jason Merrill
38bab5d4c6 * tstring.cc (identitytest): s/remove/erase/.
From-SVN: r15886
1997-10-10 03:43:28 -04:00
Jason Merrill
da8c445d07 stdexcepti.cc (__out_of_range): New fn.
* 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-10 02:56:56 -04:00
Jason Merrill
b6aa195e20 bastring.h: Move exception stuff after definition of string.
* std/bastring.h: Move exception stuff after definition of string.
	Move typedef of string here.
	* string: From here.

From-SVN: r15832
1997-10-02 13:26:16 -04:00
Jason Merrill
905a881f36 [multiple changes]
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-28 15:21:52 -04:00
Jason Merrill
5a4a879c40 bastring.h: Enable exceptions.
* 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-25 23:01:01 -04:00
Jeff Law
382738969d More stuff from Uli.
From-SVN: r15487
1997-09-16 10:11:13 -06:00
Ulrich Drepper
e693cc28bb Uli's libio/libstdc++ patches.
From-SVN: r15486
1997-09-16 10:01:55 -06:00
Jason Merrill
2a32969dd4 bastring.h (class basic_string): Add global scope to use of reverse_iterator.
* std/bastring.h (class basic_string): Add global scope to
	use of reverse_iterator.

From-SVN: r15423
1997-09-11 21:56:59 -04:00
Jason Merrill
f12bc7b53d * std/bastring.h: Adjust use of reverse_iterator template.
From-SVN: r15212
1997-09-09 22:51:35 -04:00
Jason Merrill
ff893307d0 algo.h, [...]: Update To September 8 SGI release.
* algo.h, algobase.h, alloc.h, bvector.h, deque.h, hashtable.h,
	iterator.h, list.h, rope.h, ropeimpl.h, slist.h, stl_config.h,
	tree.h, vector.h: Update To September 8 SGI release.

From-SVN: r15211
1997-09-09 22:49:45 -04:00
Mark Mitchell
113952ef50 stl_config.h (__STL_MEMBER_TEMPLATES): Enable.
Tue Sep  9 17:38:47 1997  Mark Mitchell  <mmitchell@usa.net>

	* stl_config.h (__STL_MEMBER_TEMPLATES): Enable.

From-SVN: r15209
1997-09-09 22:29:42 -04:00
Jeffrey A Law
57f260dfbd * lib/libstdc++.exp: Remove libg++_link_flags.
From-SVN: r15057
1997-09-03 09:38:21 -06:00
Alexandre Oliva
b9e6eb36ff Makefile.in: create correct multiple links to shared libstdc++.
* Makefile.in: create correct multiple links to
        shared libstdc++.

From-SVN: r14953
1997-08-27 00:04:41 -06:00
H.J. Lu
cf7c222f5d Makefile.in (check): Don't depend on site.exp.
* testsuite/Makefile.in (check): Don't depend on site.exp.
        (just-check): Depend on site.exp.
Fixes problems with SMP "make check".

From-SVN: r14945
1997-08-26 12:28:26 -06:00
Jason Merrill
3e68fa8311 [multiple changes]
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-25 20:27:06 -04:00
Jason Merrill
6599da043e Initial revision
From-SVN: r14877
1997-08-21 18:57:35 -04:00