Create a gist now

Instantly share code, notes, and snippets.

anonymous /gist:3847212
Created Oct 7, 2012

template <typename T, typename U>
struct A;
template <typename T>
struct A<T*, T*> { };
template <typename T>
struct A<T const*, T*> { };
A<int const* , int const* > okay;
A<int const(*)[1], int const(*)[1]> fail;
int main() { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment