public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/4534
@ 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++/4534; it has been noted by GNATS.

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

 Done.


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

* Re: libstdc++/4534
@ 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++/4534; 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, brendan@zen.org,
   rodrigc@gcc.gnu.org
Subject: Re: libstdc++/4534
Date: Sun, 14 Oct 2001 15:00:18 -0400

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4534&database=gcc
 
 Hi,
 
 Please apply to mainline, to address PR 4534:
 
 "Section 23.1.1.13 of the standard says the member function at() of
 sequences should throw out_of_range if n >= a.size(), not range_error
 as is currently thrown in bits/stl_bvector.h's _M_range_check 
 method."
 
 
 2001-10-09  Brendan Kehoe  <brendan@zen.org>
 
 	* stl_bvector.h (vector<bool>::_M_range_check): Fix to throw
 	out_of_range, not range_error, thus sayeth $23.1.1.13.
 
 Index: include/bits/stl_bvector.h
 ===================================================================
 RCS file: /cvs/gcc/egcs/libstdc++-v3/include/bits/stl_bvector.h,v
 retrieving revision 1.5
 diff -u -p -r1.5 stl_bvector.h
 --- stl_bvector.h	2001/06/27 17:09:52	1.5
 +++ stl_bvector.h	2001/10/10 11:44:31
 @@ -485,7 +485,7 @@ template <typename _Alloc> 
    
      void _M_range_check(size_type __n) const {
        if (__n >= this->size())
 -        __throw_range_error("vector<bool>");
 +        __throw_out_of_range("vector<bool>");
      }
    
      reference at(size_type __n)
 
 -- 
 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++/4534 Benjamin Kosnik
  -- strict thread matches above, loose matches on Subject: below --
2001-10-14 12:06 libstdc++/4534 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).