This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/66559] Uses-allocator construction disregarded by list::emplace_back


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]