public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: pme@gcc.gnu.org
To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
	mathias.hasselmann@gmx.de, nobody@gcc.gnu.org
Subject: Re: libstdc++/5583: std::set::iterator is readonly
Date: Mon, 11 Mar 2002 14:12:00 -0000	[thread overview]
Message-ID: <20020311221230.18426.qmail@sources.redhat.com> (raw)

Synopsis: std::set::iterator is readonly

State-Changed-From-To: feedback->closed
State-Changed-By: pme
State-Changed-When: Mon Mar 11 14:12:28 2002
State-Changed-Why:
    LWG Defect Report #103 has resulted in a change to the C++
    Standard:  std::set::iterator is /required/ to be read-only.
    So, this is now definitely not a bug.  :-)
    
    Your example of directed edges doesn't really work:  you
    didn't specify how "edge_t" is supposed to be ordered, but
    assuming that you define an operator< which examines the
    'weight' member, then you /still/ can't change the weight,
    because that would be changing the ordering!  It's right
    back to the original problem...
    

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5583


             reply	other threads:[~2002-03-11 22:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-11 14:12 pme [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-02-05 15:36 Mathias Hasselmann
2002-02-05  7:26 Carlo Wood
2002-02-05  6:56 rodrigc
2002-02-04 11:06 mathias.hasselmann

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=20020311221230.18426.qmail@sources.redhat.com \
    --to=pme@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    --cc=gcc-gnats@gcc.gnu.org \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=mathias.hasselmann@gmx.de \
    --cc=nobody@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).