[Bug c++/89304] Compiler runs indefinitely

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 12 11:36:00 GMT 2019


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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This will work, because there's no conversion needed from tuple<T...> to
tuple<T...> const, so the expected overload is more speclialized:

        const auto t = std::make_tuple(args...);
        f(t);


More information about the Gcc-bugs mailing list