public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: pcarlini@unitus.it
To: gcc-gnats@gcc.gnu.org
Subject: libstdc++/7186: DR179 for std::deque::iterator and const_iterator
Date: Tue, 02 Jul 2002 12:16:00 -0000	[thread overview]
Message-ID: <20020702191005.4366.qmail@sources.redhat.com> (raw)


>Number:         7186
>Category:       libstdc++
>Synopsis:       DR179 for std::deque::iterator and const_iterator
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 02 12:16:09 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Paolo Carlini
>Release:        3.1 and current 3.1.1 and 3.2
>Organization:
>Environment:
don't care
>Description:
This is a follow up of libstdc++/6642, now fixed in the
mainline, concerning std::deque: the resolution of DR179
<Ready> needs to be implemented for operator- of
std::deque::iterator and std::deque::const_iterator too.
This is a testcase, which currently does not compile at all
whereas it should:
//////////
#include <deque>

int main()
{
  std::deque<int> d;
  std::deque<int>::iterator it = d.begin();
  std::deque<int>::const_iterator cit = d.begin();

  return it - cit;
}
//////////
>How-To-Repeat:

>Fix:
The tricky point is not affecting the behaviour of reverse
iterators about which the status of the relevant DR280
is still <open>.
>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2002-07-02 19:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-02 12:16 pcarlini [this message]
2002-07-03  9:22 bkoz
2002-07-03  9:36 Paolo Carlini
2002-07-03 10:26 B. Kosnik
2002-07-03 14:36 Paolo Carlini
2002-07-04 10:06 Benjamin Kosnik
2002-07-24 23:25 bkoz
2002-07-24 23:48 paolo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020702191005.4366.qmail@sources.redhat.com \
    --to=pcarlini@unitus.it \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).