[Bug libstdc++/78939] [C++17] <tuple> interferes with structured binding from struct

gccbugbjorn at fahller dot se gcc-bugzilla@gcc.gnu.org
Wed Dec 28 19:45:00 GMT 2016


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.


More information about the Gcc-bugs mailing list