From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9243 invoked by alias); 2 Jul 2002 19:16:16 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 9200 invoked by uid 71); 2 Jul 2002 19:16:12 -0000 Resent-Date: 2 Jul 2002 19:16:12 -0000 Resent-Message-ID: <20020702191612.9199.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, pcarlini@unitus.it Received: (qmail 4377 invoked by uid 61); 2 Jul 2002 19:10:10 -0000 Message-Id: <20020702191005.4366.qmail@sources.redhat.com> Date: Tue, 02 Jul 2002 12:16:00 -0000 From: pcarlini@unitus.it Reply-To: pcarlini@unitus.it To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: libstdc++/7186: DR179 for std::deque::iterator and const_iterator X-SW-Source: 2002-07/txt/msg00068.txt.bz2 List-Id: >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 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 int main() { std::deque d; std::deque::iterator it = d.begin(); std::deque::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 . >Release-Note: >Audit-Trail: >Unformatted: