Skip to content

Instantly share code, notes, and snippets.

@wolfiestyle
Created July 28, 2015 02:30
Show Gist options
  • Save wolfiestyle/1fad7770235858e0f040 to your computer and use it in GitHub Desktop.
Save wolfiestyle/1fad7770235858e0f040 to your computer and use it in GitHub Desktop.
Typical C++ error
template<class T>struct W{T v;W(T v):v(v){}}; template<class T>int f(T x){f(W<T>(x));} main(){f(0);}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment