• Advertisement
Sign in to follow this  

static inheritance?

This topic is 4685 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

(C++) Is it possible to inherit staticly, so that all of the members/functions of the base class are static members of the derived class?

Share this post


Link to post
Share on other sites
Advertisement
No.

It's almost certainly easiest to make a subclass normally and only ever have one instance of it.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement