struct Point {
int x;
int y;
int z;
};
// does not compile... how to do this without decltype?
int Point::* getX () {
return &Point::x;
}
int main() { }
c3RydWN0IFBvaW50IHsKICAgIGludCB4OwogICAgaW50IHk7CiAgICBpbnQgejsKfTsKCi8vIGRvZXMgbm90IGNvbXBpbGUuLi4gaG93IHRvIGRvIHRoaXMgd2l0aG91dCBkZWNsdHlwZT8KaW50IFBvaW50OjoqIGdldFggKCkgewogICByZXR1cm4gJlBvaW50Ojp4Owp9CgppbnQgbWFpbigpICB7IH0=