All things equal, does an object of a class which has methods take up more memory resources than an instance of a class without methods. What if it is a vector of such objects?
For example:
class A{
public:
void DoSomething();
void DoSomethingelse();
private:
int x, y;
};
class B{
private:
int x, y;
};