Skip to content

Instantly share code, notes, and snippets.

@metopa
Created July 31, 2018 03:48
Show Gist options
  • Save metopa/66717789a4ca4bcd3bf7790bf69f9c55 to your computer and use it in GitHub Desktop.
Save metopa/66717789a4ca4bcd3bf7790bf69f9c55 to your computer and use it in GitHub Desktop.
GCC <=6 bug
template <typename T>
struct A {
template <typename V>
void foo() { }
template <typename U>
struct B {
A* a_;
void foo() { return a_->foo<U>(); }
};
};
int main() {
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment