I would like to have declaration like this:
void Date::get_days_name(const Date& = this)
which I would understand that if no argument is provided use this object as an argument. For some reason in VS I'm getting err msg:
'Error 1 error C2355: 'this' : can only be referenced inside non-static member '
Any idea what I'm doing wrong?