https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66968
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2017-08-21 00:00:00 |2021-7-16 --- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- Seen with std::tuple and std::get too: t2.C:38:16: error: use of deleted function 'typename enable_if<(i >= sizeof... (Elements))>::type get(const tuple<Elements ...>&) [with long unsigned int i = 1; Elements = {int}; typename enable_if<(i >= sizeof... (Elements))>::type = void]' It should be _Elements, but it shows _Types.