* bitset: Re-install Alexandre's lost patch from 1998-11-27.
authorJeffrey A Law <law@cygnus.com>
Sun, 11 Apr 1999 22:53:05 +0000 (22:53 +0000)
committerJeff Law <law@gcc.gnu.org>
Sun, 11 Apr 1999 22:53:05 +0000 (16:53 -0600)
From-SVN: r26354

libstdc++/stl/ChangeLog
libstdc++/stl/bitset

index 40e8c36e98fa44c71c7c9a6c61d0ae2876d0114f..79dbea55a13541388af4af20cf4d51b98f17d90b 100644 (file)
@@ -1,3 +1,7 @@
+Sun Apr 11 23:48:30 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * bitset: Re-install Alexandre's lost patch from 1998-11-27.
+
 1999-01-20  Ulrich Drepper  <drepper@cygnus.com>
 
        * stl_construct.h (__destroy_aux): Use != instead of < for
index 36edf09659e86c282a322df253d217a23821fcc5..e26845ed0455a455f6e9bcfc41b30fcf8c4dcc78 100644 (file)
@@ -626,7 +626,7 @@ public:
   template<class _CharT, class _Traits, class _Alloc>
   explicit bitset(const basic_string<_CharT,_Traits,_Alloc>& __s,
                   size_t __pos = 0,
-                  size_t __n = basic_string<_CharT,_Traits,_Alloc>::npos)
+                  size_t __n = size_t(basic_string<_CharT,_Traits,_Alloc>::npos))
     : _Base()
   {
     if (__pos > __s.size())
@@ -753,7 +753,7 @@ public:
 
   unsigned long to_ulong() const { return _M_do_to_ulong(); }
 
-#if __STL_EXPLICIT_FUNCTION_TMPL_ARGS
+#ifdef __STL_EXPLICIT_FUNCTION_TMPL_ARGS
   template <class _CharT, class _Traits, class _Alloc>
   basic_string<_CharT, _Traits, _Alloc> to_string() const {
     basic_string<_CharT, _Traits, _Alloc> __result;