|
Boost Users : |
Subject: Re: [Boost-users] Unordered map copy segfaults! (STL map does not)
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2009-08-18 18:19:03
MeMooMeM wrote:
> Here are the details:
> ================
>
> typedef boost::unordered_map<unsigned long long, Dest> MyMap;
>
> MyMap a;
> ...
> ... // (I populate map 'a' here in a loop)
> ...
> MyMap b;
>
> b = a; // Segfaults! (also, I do not want to initialize b with a as in MyMap
> b(a), I want to copy it later in the code.)
You should write a proper testcase and provide your platform, so that
people have a chance to reproduce your results.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net