public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/59514] New: vector::emplace uses wrong iterator type
@ 2013-12-15 20:21 chrissakalis at gmail dot com
  2013-12-16 16:54 ` [Bug libstdc++/59514] " redi at gcc dot gnu.org
  2013-12-16 20:30 ` chrissakalis at gmail dot com
  0 siblings, 2 replies; 3+ messages in thread
From: chrissakalis at gmail dot com @ 2013-12-15 20:21 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59514
           Summary: vector::emplace uses wrong iterator type
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: chrissakalis at gmail dot com

The vector::emplace member function is defined in the standard (23.3.6.5
vector.modifiers) to take a const_iterator as it's first argument but in the
4.8.2 implementation it expects a non-const iterator.


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

* [Bug libstdc++/59514] vector::emplace uses wrong iterator type
  2013-12-15 20:21 [Bug libstdc++/59514] New: vector::emplace uses wrong iterator type chrissakalis at gmail dot com
@ 2013-12-16 16:54 ` redi at gcc dot gnu.org
  2013-12-16 20:30 ` chrissakalis at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: redi at gcc dot gnu.org @ 2013-12-16 16:54 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I think this is already fixed on trunk


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

* [Bug libstdc++/59514] vector::emplace uses wrong iterator type
  2013-12-15 20:21 [Bug libstdc++/59514] New: vector::emplace uses wrong iterator type chrissakalis at gmail dot com
  2013-12-16 16:54 ` [Bug libstdc++/59514] " redi at gcc dot gnu.org
@ 2013-12-16 20:30 ` chrissakalis at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: chrissakalis at gmail dot com @ 2013-12-16 20:30 UTC (permalink / raw)
  To: gcc-bugs

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

Chris Sakalis <chrissakalis at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Chris Sakalis <chrissakalis at gmail dot com> ---
As Jonathan Wakely correctly said, it is fixed in trunk.


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

end of thread, other threads:[~2013-12-16 20:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-15 20:21 [Bug libstdc++/59514] New: vector::emplace uses wrong iterator type chrissakalis at gmail dot com
2013-12-16 16:54 ` [Bug libstdc++/59514] " redi at gcc dot gnu.org
2013-12-16 20:30 ` chrissakalis at gmail dot com

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