Original Post
This must be possible, but I can't figure out how. I was thinking something like this: ; But my compiler complains about not being able to call getStandardIncreaseAmount() without an object (adding "this->" doesn't solve the problem because "it can't be used in this context" or something. Does anybody know how to do this?
class cMyClass
{
public:
int increase( int x, int amount = getStandardIncreaseAmount() );
int getStandardIncreaseAmount();
};