public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/60285] New: std::list<T>::insert(position, x) does not accept const_iterator position
@ 2014-02-20  8:53 petr.kmoch at gmail dot com
  2014-02-20  9:17 ` [Bug libstdc++/60285] " redi at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: petr.kmoch at gmail dot com @ 2014-02-20  8:53 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60285

            Bug ID: 60285
           Summary: std::list<T>::insert(position, x) does not accept
                    const_iterator position
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: petr.kmoch at gmail dot com

Created attachment 32176
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32176&action=edit
Test case

The std::list<T>::insert overload which takes a position and value should
accept a const_iterator in C++11 (23.3.5.4), but it apparently requires a
mutable iterator in libstdc++


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

* [Bug libstdc++/60285] std::list<T>::insert(position, x) does not accept const_iterator position
  2014-02-20  8:53 [Bug libstdc++/60285] New: std::list<T>::insert(position, x) does not accept const_iterator position petr.kmoch at gmail dot com
@ 2014-02-20  9:17 ` redi at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: redi at gcc dot gnu.org @ 2014-02-20  9:17 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60285

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.9.0

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Already fixed for 4.9.0


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

end of thread, other threads:[~2014-02-20  9:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-20  8:53 [Bug libstdc++/60285] New: std::list<T>::insert(position, x) does not accept const_iterator position petr.kmoch at gmail dot com
2014-02-20  9:17 ` [Bug libstdc++/60285] " redi at gcc dot gnu.org

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).