language: C++ 4.7.2 (gcc-4.7.2)
date: 775 days 15 hours ago
link:
visibility: public
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <algorithm>
#include <iostream>
 
template<class C, class T, T C::*x>
struct X { };
 
typedef std::pair<int,int> Pr;
X<Pr, int, &Pr::first> var;
     
int main()
{
    std::cout << "hello\n";
}