https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80950
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- I think you need to write this->template get<1>(); I get the same error with GCC 5.3 btw.