public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/4537
@ 2001-10-19 11:16 Benjamin Kosnik
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Kosnik @ 2001-10-19 11:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR libstdc++/4537; it has been noted by GNATS.

From: Benjamin Kosnik <bkoz@redhat.com>
To: Craig Rodrigues <rodrigc@mediaone.net>
Cc: gcc-gnats@gcc.gnu.org, rodrigc@gcc.gnu.org, brendan@zen.org
Subject: Re: libstdc++/4537
Date: Fri, 19 Oct 2001 11:06:23 -0700 (PDT)

 Done.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: libstdc++/4537
@ 2001-10-14 12:06 Craig Rodrigues
  0 siblings, 0 replies; 2+ messages in thread
From: Craig Rodrigues @ 2001-10-14 12:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR libstdc++/4537; it has been noted by GNATS.

From: Craig Rodrigues <rodrigc@mediaone.net>
To: gcc-patches@gcc.gnu.org
Cc: libstdc++@gcc.gnu.org, gcc-gnats@gcc.gnu.org, rodrigc@gcc.gnu.org,
   brendan@zen.org
Subject: Re: libstdc++/4537
Date: Sun, 14 Oct 2001 14:54:41 -0400

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4537&database=gcc
 
 Hi,
 
 Please apply this to mainline.
 
 
 2001-10-10  Brendan Kehoe  <brendan@zen.org>
 
 	* include/bits/stl_iterator.h (reverse_iterator::current): Rename
 	member from _M_current, and change all uses; thus sayeth $24.4.1.1.
 
 Index: include/bits/stl_iterator.h
 ===================================================================
 RCS file: /cvs/gcc/egcs/libstdc++-v3/include/bits/stl_iterator.h,v
 retrieving revision 1.13
 diff -u -p -r1.13 stl_iterator.h
 --- stl_iterator.h	2001/07/20 00:09:31	1.13
 +++ stl_iterator.h	2001/10/10 11:44:32
 @@ -72,7 +72,7 @@ namespace std
                          typename iterator_traits<_Iterator>::reference>
      {
      protected:
 -      _Iterator _M_current;
 +      _Iterator current;
  
      public:
        typedef _Iterator 				       iterator_type;
 @@ -85,22 +85,22 @@ namespace std
        reverse_iterator() {}
  
        explicit 
 -      reverse_iterator(iterator_type __x) : _M_current(__x) {}
 +      reverse_iterator(iterator_type __x) : current(__x) {}
  
        reverse_iterator(const reverse_iterator& __x) 
 -	: _M_current(__x._M_current) { }
 +	: current(__x.current) { }
  
        template<typename _Iter>
          reverse_iterator(const reverse_iterator<_Iter>& __x)
 -	: _M_current(__x.base()) {}
 +	: current(__x.base()) {}
      
        iterator_type 
 -      base() const { return _M_current; }
 +      base() const { return current; }
  
        reference 
        operator*() const 
        {
 -	_Iterator __tmp = _M_current;
 +	_Iterator __tmp = current;
  	return *--__tmp;
        }
  
 @@ -110,7 +110,7 @@ namespace std
        reverse_iterator& 
        operator++() 
        {
 -	--_M_current;
 +	--current;
  	return *this;
        }
  
 @@ -118,38 +118,38 @@ namespace std
        operator++(int) 
        {
  	reverse_iterator __tmp = *this;
 -	--_M_current;
 +	--current;
  	return __tmp;
        }
  
        reverse_iterator& 
        operator--() 
        {
 -	++_M_current;
 +	++current;
  	return *this;
        }
  
        reverse_iterator operator--(int) 
        {
  	reverse_iterator __tmp = *this;
 -	++_M_current;
 +	++current;
  	return __tmp;
        }
        
        reverse_iterator 
        operator+(difference_type __n) const 
 -      { return reverse_iterator(_M_current - __n); }
 +      { return reverse_iterator(current - __n); }
  
        reverse_iterator& 
        operator+=(difference_type __n) 
        {
 -	_M_current -= __n;
 +	current -= __n;
  	return *this;
        }
  
        reverse_iterator 
        operator-(difference_type __n) const 
 -      { return reverse_iterator(_M_current + __n); }
 +      { return reverse_iterator(current + __n); }
  
        reverse_iterator& 
        operator-=(difference_type __n) 
 @@ -225,7 +225,7 @@ namespace std
        back_insert_iterator(_Container& __x) : container(&__x) {}
  
        back_insert_iterator&
 -      operator=(const typename _Container::const_reference __value) 
 +      operator=(typename _Container::const_reference __value) 
        { 
  	container->push_back(__value);
  	return *this;
 @@ -259,7 +259,7 @@ namespace std
        explicit front_insert_iterator(_Container& __x) : container(&__x) {}
  
        front_insert_iterator&
 -      operator=(const typename _Container::const_reference __value) 
 +      operator=(typename _Container::const_reference __value) 
        { 
  	container->push_front(__value);
  	return *this;
 -- 
 Craig Rodrigues        
 http://www.gis.net/~craigr    
 rodrigc@mediaone.net          


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-10-19 11:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-19 11:16 libstdc++/4537 Benjamin Kosnik
  -- strict thread matches above, loose matches on Subject: below --
2001-10-14 12:06 libstdc++/4537 Craig Rodrigues

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).