mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-22 07:19:14 +08:00
* bitset: Re-install Alexandre's lost patch from 1998-11-27.
From-SVN: r26354
This commit is contained in:
parent
2bcf042cce
commit
1bd0b556b4
@ -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>
|
1999-01-20 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* stl_construct.h (__destroy_aux): Use != instead of < for
|
* stl_construct.h (__destroy_aux): Use != instead of < for
|
||||||
|
@ -626,7 +626,7 @@ public:
|
|||||||
template<class _CharT, class _Traits, class _Alloc>
|
template<class _CharT, class _Traits, class _Alloc>
|
||||||
explicit bitset(const basic_string<_CharT,_Traits,_Alloc>& __s,
|
explicit bitset(const basic_string<_CharT,_Traits,_Alloc>& __s,
|
||||||
size_t __pos = 0,
|
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()
|
: _Base()
|
||||||
{
|
{
|
||||||
if (__pos > __s.size())
|
if (__pos > __s.size())
|
||||||
@ -753,7 +753,7 @@ public:
|
|||||||
|
|
||||||
unsigned long to_ulong() const { return _M_do_to_ulong(); }
|
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>
|
template <class _CharT, class _Traits, class _Alloc>
|
||||||
basic_string<_CharT, _Traits, _Alloc> to_string() const {
|
basic_string<_CharT, _Traits, _Alloc> to_string() const {
|
||||||
basic_string<_CharT, _Traits, _Alloc> __result;
|
basic_string<_CharT, _Traits, _Alloc> __result;
|
||||||
|
Loading…
Reference in New Issue
Block a user