https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57248
--- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> --- Sorry, I made a mistake, the original testcase with <tuple> replaced by the code in Comment #3 is still rejected. However, it's true that all the up to date compilers I have at hand reject it with the same kind of error about get at: return std::get<index(array)>(t1); like for my reduced testcase in Comment #5.