I am having some trouble with pointers. I have a class
class Foo { private: int var; public: Foo() = default; void SetVar(int v) {var = v;} };