This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/66559] Uses-allocator construction disregarded by list::emplace_back
- From: "potswa at mac dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 16 Jun 2015 16:58:31 +0000
- Subject: [Bug libstdc++/66559] Uses-allocator construction disregarded by list::emplace_back
- Auto-submitted: auto-generated
- References: <bug-66559-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66559
--- Comment #2 from David Krauss <potswa at mac dot com> ---
That bug only mentions missing allocator_traits support.
It looks like the problem here is that _List_node declares a member _Tp and
initializes it, whereas it should declare aligned storage for a _Tp and let the
container initialize it.