#include <iostream>
template <typename T>
class Foo
{
public:
static int bar;
};
template <typename T> int Foo<T>::bar;
int main() {
std::cout << "Foo<int>::bar : " << &Foo<int>::bar << std::endl;
std::cout << "Foo<double>::bar : " << &Foo<double>::bar << std::endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdGVtcGxhdGUgPHR5cGVuYW1lIFQ+CmNsYXNzIEZvbwp7CglwdWJsaWM6CglzdGF0aWMgaW50IGJhcjsKfTsKCnRlbXBsYXRlIDx0eXBlbmFtZSBUPiBpbnQgRm9vPFQ+OjpiYXI7CgppbnQgbWFpbigpIHsKCXN0ZDo6Y291dCA8PCAiRm9vPGludD46OmJhciA6ICIgPDwgJkZvbzxpbnQ+OjpiYXIgPDwgc3RkOjplbmRsOwoJc3RkOjpjb3V0IDw8ICJGb288ZG91YmxlPjo6YmFyIDogIiA8PCAmRm9vPGRvdWJsZT46OmJhciA8PCBzdGQ6OmVuZGw7CglyZXR1cm4gMDsKfQ==