Commit Graph

32 Commits

Author SHA1 Message Date
Gabriel Dos Reis
f1c9d505f9 stl_iterator.h: Make it possible to use standard class `iterator'.
2000-01-19  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>

        * stl_iterator.h: Make it possible to use standard class
        `iterator'.

From-SVN: r31584
2000-01-24 11:25:23 +00:00
Mumit Khan
d01db33660 stl_config.h (__MINGW32__): Define __STL_WIN32THREADS for thread safe runtime.
1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>

	* stl_config.h (__MINGW32__): Define __STL_WIN32THREADS for thread
	safe runtime.

From-SVN: r30902
1999-12-14 07:02:23 +00:00
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
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
d736a76cf6 Update.
From-SVN: r24793
1999-01-20 18:05:11 +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
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
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
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