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++/78939] [C++17] <tuple> interferes with structured binding from struct


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78939

--- Comment #4 from Björn Fahller <gccbugbjorn at fahller dot se> ---
It also only partially solves the problem. If the struct is made const, or the
decomposition declaration is changed to "auto const& [p] = s;", it still fails.

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