Alex Rivera | Logout

Static Virtual functions in c++

Asked 2011-06-09T10:08:49.330
12

I have a base class and a derived one and I want to change base functions while keeping them static as they should be passed to other functions as static.

How can I do that?

Edit
Report

1 Answer

2

static function can not be virtual since they do not have an instance through which they are accessed. I do believe you can overwrite them though.

answered 2011-06-09T10:12:27.190

Your Answer