1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Do we really need private virtual function?

Discussion in 'C++' started by LarryChen, Jun 29, 2010.

  1. LarryChen

    LarryChen New Member

    Joined:
    Jun 23, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    In my understanding, virtual function should always be public because virtual functions are interface so obviously they should be accessible to the client. Why would we need private virtual function?
     

Share This Page