This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/77528] std::queue default constructor unnecessarily creates temporary of underlying Container
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 12 Sep 2016 10:00:04 +0000
- Subject: [Bug libstdc++/77528] std::queue default constructor unnecessarily creates temporary of underlying Container
- Auto-submitted: auto-generated
- References: <bug-77528-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77528
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to TC from comment #2)
> This makes the default constructor implicit,
Yes, that was intentional :-)
> though that's probably how it
> should be anyway.
Yes, we missed the container adaptors when fixing https://wg21.link/lwg2193