struct MyStruct {
typedef int MyStruct::*Ptr; // my pointer-to-member type
int foo, bar;
};
This code works, but I'd like to bring it up-to-date with modern style and replace the typedef with a using. What's the right syntax to use? I've tried a bunch of options and I'm stuck; the only examples I can find are for pointer-to-member-function which is different.