libstdc++ PATCH: bitset

Geoff Berry geoffb@bops.com
Wed Aug 23 15:04:00 GMT 2000


I believe this patch is fairly straightforward.

2000-08-23  Geoff Berry  <geoffb@bops.com>

	* stl/bitset: Include <algorithm> since `min' is used.

Index: libstdc++/stl/bitset
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++/stl/bitset,v
retrieving revision 1.6
diff -c -3 -p -r1.6 bitset
*** bitset	2000/08/22 19:24:01	1.6
--- bitset	2000/08/23 21:56:11
***************
*** 35,40 ****
--- 35,41 ----
  // returns a reference to a bit, again without doing any range checking.
  
  
+ #include <algorithm>    // for min
  #include <stddef.h>     // for size_t
  #include <limits.h>     // for CHAR_BIT
  #include <string>




More information about the Gcc-patches mailing list