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++/66699] Incorrect order of destruction for std::tuple elements


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.


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