public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/55043] New: issue with nesting unordered_map containing unique_ptr into vector
@ 2012-10-23 21:17 boris.bigott at hotmail dot com
  2012-10-23 21:35 ` [Bug libstdc++/55043] " redi at gcc dot gnu.org
                   ` (32 more replies)
  0 siblings, 33 replies; 34+ messages in thread
From: boris.bigott at hotmail dot com @ 2012-10-23 21:17 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55043
           Summary: issue with nesting unordered_map containing unique_ptr
                    into vector
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: boris.bigott@hotmail.com


The program below does not compile using gcc-4.7.2 or clang-3.1 together with
libstdc++-4.7.2. Using gcc-4.6.3 with corresponding libstdc++ or clang-3.1 with
clangs libc++ works. Nesting uim in other containers like pair, tuple, or
unordered_map works too. Apparently, only vector is affected.

#include <memory>
#include <unordered_map>
#include <vector>

int main() {
    typedef std::unique_ptr<int> uip;
    typedef std::unordered_map<int, uip> uim;
    typedef std::vector<uim> uiv;
    uiv v;
    v.emplace_back(uim());
}


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

end of thread, other threads:[~2013-02-20 23:57 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-23 21:17 [Bug libstdc++/55043] New: issue with nesting unordered_map containing unique_ptr into vector boris.bigott at hotmail dot com
2012-10-23 21:35 ` [Bug libstdc++/55043] " redi at gcc dot gnu.org
2012-10-23 22:29 ` redi at gcc dot gnu.org
2012-10-23 22:35 ` [Bug libstdc++/55043] [4.7/4.8 Regression] " redi at gcc dot gnu.org
2012-10-23 22:53 ` paolo.carlini at oracle dot com
2012-10-23 23:06 ` redi at gcc dot gnu.org
2012-10-23 23:14 ` paolo.carlini at oracle dot com
2012-10-24  1:08 ` redi at gcc dot gnu.org
2012-10-24  1:24 ` redi at gcc dot gnu.org
2012-10-24  3:04 ` glisse at gcc dot gnu.org
2012-10-24  6:37 ` daniel.kruegler at googlemail dot com
2012-10-24  8:25 ` redi at gcc dot gnu.org
2012-10-24  8:34 ` daniel.kruegler at googlemail dot com
2012-10-24  9:10 ` redi at gcc dot gnu.org
2012-10-24  9:23 ` daniel.kruegler at googlemail dot com
2012-10-24 15:40 ` redi at gcc dot gnu.org
2012-10-24 17:37 ` redi at gcc dot gnu.org
2012-10-24 17:48 ` daniel.kruegler at googlemail dot com
2012-10-24 18:12 ` daniel.kruegler at googlemail dot com
2012-10-24 18:51 ` paolo.carlini at oracle dot com
2012-10-24 20:04 ` redi at gcc dot gnu.org
2012-10-24 20:29 ` paolo.carlini at oracle dot com
2012-11-25 15:58 ` rguenth at gcc dot gnu.org
2012-12-06 16:07 ` rguenth at gcc dot gnu.org
2013-01-16  9:21 ` redi at gcc dot gnu.org
2013-01-16  9:26 ` [Bug libstdc++/55043] [4.7 " redi at gcc dot gnu.org
2013-01-16  9:39 ` glisse at gcc dot gnu.org
2013-01-16  9:43 ` daniel.kruegler at googlemail dot com
2013-01-16 10:26 ` redi at gcc dot gnu.org
2013-01-16 10:53 ` redi at gcc dot gnu.org
2013-01-16 23:56 ` redi at gcc dot gnu.org
2013-01-16 23:58 ` redi at gcc dot gnu.org
2013-02-20 23:56 ` redi at gcc dot gnu.org
2013-02-20 23:57 ` 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).