Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

access specifiers with virtual functions

$
0
0

thought I was getting the hang of public, private & protected access specifiers and the use of virtual functions but saw this in a class the other day and got confused:

private:
  virtual void myFunc();

so my question is what does it mean when we limit access to virtual functions?


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>