This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/66699] Incorrect order of destruction for std::tuple elements
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 29 Jun 2015 21:34:35 +0000
- Subject: [Bug libstdc++/66699] Incorrect order of destruction for std::tuple elements
- Auto-submitted: auto-generated
- References: <bug-66699-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66699
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I don't see why you think this is an issue because:
f(temp(), temp());
The C++ does not specifies which one gets constructed first or second.