Created
October 7, 2012 05:31
-
-
Save anonymous/3847212 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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