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: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 30 Jun 2015 16:47:06 +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 #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
Being described as similar doesn't imply they are identical in every detail.
std::pair and std::tuple are distinct classes with different requirements on
each. If you believe the are required to behave identically in this respect
(i.e., have their subobjects defined in the same order) you need to point to
the specific wording that guarantees it.