Commit Graph

45 Commits

Author SHA1 Message Date
Benjamin Kosnik
b49df33399 stl_rope.h: Fix initialization order.
* stl_rope.h: Fix initialization order.
        * stl_deque.h: Use static_casts<size_type>(signed_type).

Co-Authored-By: Matthias Klose <doko@cs.tu-berlin.de>

From-SVN: r30622
1999-11-22 23:35:50 +00:00
Martin v. Löwis
c683f030df bitset: Include limits.h.
* bitset: Include limits.h.
	* bitset (class bitset): Declare reference as our friend.

From-SVN: r30430
1999-11-06 16:20:39 +00:00
Alexandre Oliva
63ecaef554 pthread_alloc: Solaris' ctype.h defines _U to 01; use _Up as template parameter instead.
* pthread_alloc: Solaris' ctype.h defines _U to 01; use _Up as
template parameter instead.

From-SVN: r28605
1999-08-09 00:07:21 +00:00
Martin v. Löwis
8afbe9226d * stl_queue.h: Rename _M_c to c, and _M_comp to comp.
From-SVN: r27581
1999-06-17 23:54:56 +00:00
Mark Kettenis
a9a00d29b4 stl_config.h: Only define __STL_PTHREADS with GLIBC >= 2 for Linux.
* stl_config.h: Only define __STL_PTHREADS with GLIBC >= 2 for
        Linux.

From-SVN: r26982
1999-05-17 17:03:48 -06:00
Mumit Khan
53df21a6d4 * stl_config.h (__CYGWIN__): Cygwin newlib RTL lacks drand48.
From-SVN: r26966
1999-05-16 20:33:37 -06:00
Ulrich Drepper
199343c591 Update.
From-SVN: r26819
1999-05-07 10:14:34 +00:00
Ulrich Drepper
2370ed1f56 Make it possible to compile with __USE_MALLOC.
From-SVN: r26818
1999-05-07 10:13:49 +00:00
Alexandre Oliva
ceff9b1445 Fixed some old ChangeLog entries I wrote before becoming aware of the GNU
coding standards.

From-SVN: r26679
1999-04-27 13:27:29 +00:00
Mumit Khan
8dadfd1957 * stl_config.h (__MINGW32__): Mingw32 RTL lacks drand48.
From-SVN: r26388
1999-04-12 17:37:24 -06:00
Jeffrey A Law
1bd0b556b4 * bitset: Re-install Alexandre's lost patch from 1998-11-27.
From-SVN: r26354
1999-04-11 16:53:05 -06:00
Ulrich Drepper
554241c33e Bring over lost changes from Cygnus's directory.
* Missing ChangeLog entries.
	* Whitespace fixes.
	* Enable multilib by default
	* One stl fix (#ifdef -> #if)

From-SVN: r26234
1999-04-06 21:20:00 -06:00
Ulrich Drepper
7fccd11028 Add support for Solaris thread library.
From-SVN: r25028
1999-02-04 15:51:42 +00:00
Ulrich Drepper
b76354a542 Recognize _SOLTHREADS and define internal macros appropriately.
From-SVN: r25027
1999-02-04 15:51:19 +00:00
Ulrich Drepper
d736a76cf6 Update.
From-SVN: r24793
1999-01-20 18:05:11 +00:00
Ulrich Drepper
4f6478b760 (__destroy_aux): Use != instead of < for ForwardIterator comparison.
From-SVN: r24792
1999-01-20 18:04:49 +00:00
Mark Mitchell
3240a1a2d2 * stl_config.h (__STL_USE_NAMESPACES): Define.
From-SVN: r24791
1999-01-20 17:01:43 +00:00
Alexandre Oliva
02b19f4191 bitset: explicitly convert basic_string<...>::npos to size_t in default argument to...
* bitset: explicitly convert basic_string<...>::npos to size_t in
	default argument to constructor, to avoid parse error at `>'
	(__STL_EXPLICIT_FUNCTION_TMPL_ARGS): replace #if with #ifdef

From-SVN: r23937
1998-11-27 12:10:39 +00:00
Mark Mitchell
bdda080307 stl_alloc.h (default_alloc_template::_S_free_list): Don't qualify _NFREELISTS.
* stl_alloc.h (default_alloc_template::_S_free_list): Don't
	qualify _NFREELISTS.

From-SVN: r23491
1998-11-01 16:47:09 +00:00
Mark Mitchell
7f6391b208 * stl_config.h (__SGI_STL_USE_AUTO_PTR_CONVERSIONS): Define.
From-SVN: r22989
1998-10-11 17:55:56 +00:00
Mark Mitchell
5ada5d0f99 memory (auto_ptr::operator auto_ptr_ref<_Tp1>): Fix typo.
* memory (auto_ptr::operator auto_ptr_ref<_Tp1>): Fix typo.
	(auto_ptr::operator auto_ptr<_Tp1>): Add missing
	semicolon.

From-SVN: r22988
1998-10-11 17:48:12 +00:00
Jason Merrill
3d821ea145 tweak
From-SVN: r22428
1998-09-15 09:43:59 -04:00
Jason Merrill
9d07bfaf50 tweak
From-SVN: r22427
1998-09-15 09:43:48 -04:00
Jason Merrill
127b53d549 stl_config.h: Define __STL_HAS_WCHAR_T...
* stl_config.h: Define __STL_HAS_WCHAR_T,
	__STL_MEMBER_TEMPLATE_CLASSES, __STL_HAS_NAMESPACES,
	__STL_NO_NAMESPACES and __STL_LONG_LONG.

From-SVN: r22203
1998-09-02 22:56:35 -04:00
Jason Merrill
df9262681b algorithm [...]: Update to SGI STL 3.11.
* algorithm alloc.h defalloc.h hash_map.h hash_set.h iterator
	memory pthread_alloc pthread_alloc.h rope ropeimpl.h stl_algo.h
	stl_algobase.h stl_alloc.h stl_bvector.h stl_config.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
	tempbuf.h type_traits.h: Update to SGI STL 3.11.

From-SVN: r22190
1998-09-02 13:25:15 -04:00
Jason Merrill
ec9c42c9c3 we dont use these bits of SGI STL
From-SVN: r22184
1998-09-02 08:33:40 -04:00
Jason Merrill
ff51efd52d Initial revision
From-SVN: r22182
1998-09-02 08:33:39 -04:00
Jason Merrill
dfaaf5101c Initial revision
From-SVN: r22181
1998-09-02 08:33:38 -04:00
Jason Merrill
b693643843 Initial revision
From-SVN: r22180
1998-09-02 08:33:35 -04:00
Jason Merrill
768a887ca7 Initial revision
From-SVN: r22179
1998-09-02 08:33:33 -04:00
Jason Merrill
72e4bfd9e4 This commit was generated by cvs2svn to compensate for changes in r22177,
which included commits to RCS files with non-trunk default branches.

From-SVN: r22178
1998-09-02 08:28:51 -04:00
Jason Merrill
38fcba265c Initial revision
From-SVN: r22173
1998-09-02 08:28:14 -04:00
Klaus-Georg Adams
e6bc256177 stl_tempbuf.h (temporary_buffer): Add missing typename.
* stl_tempbuf.h (temporary_buffer): Add missing typename.
	* type_traits.h: update comments.

From-SVN: r21075
1998-07-11 23:18:39 -04:00
Jeffrey A Law
135f368e6e stl_config.h (__STL_PTHREADS): Don't define for glibc 2 if _G_USING_THUNKS is not defined.
* stl_config.h (__STL_PTHREADS): Don't define for glibc 2 if
        _G_USING_THUNKS is not defined.
Bring over from egcs-1.0.3 branch since ppc-linux still uses glibc-1.9x.

From-SVN: r20775
1998-06-27 17:51:33 -06:00
Jeff Law
38e012594e typo typo fixes fixes
From-SVN: r19601
1998-05-06 15:09:07 -06:00
Ulrich Drepper
5f5f6cb7ca (__stl_prime_list): Mark last two numbers as unsigned long since they are...
(__stl_prime_list): Mark last two numbers as
unsigned long since they are otherwise too large for long int on
32bit machines.

From-SVN: r19034
1998-04-07 18:39:16 +00:00
Jason Merrill
96abf60005 ropeimpl.h: Check __STL_PTHREADS instead of _PTHREADS.
* ropeimpl.h: Check __STL_PTHREADS instead of _PTHREADS.
	* stl_alloc.h: Ditto.
	* stl_config.h: Ditto.
	* stl_rope.h: Ditto.
	* stl_config.h: include <_G_config.h> if __GNUG__ is defined.
	(__STL_PTHREADS): Defined if _PTHREADS is defined or
	__GLIBC__ >= 2.

From-SVN: r18138
1998-02-20 06:13:44 -05: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
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
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
Jason Merrill
6599da043e Initial revision
From-SVN: r14877
1997-08-21 18:57:35 -04:00