c++ Programming Glossary: my_func1
C++: overriding public\private inheritance http://stackoverflow.com/questions/5753833/c-overriding-public-private-inheritance and force it to be private class A public virtual double my_func1 int i virtual double my_func2 int i class B public A Notice.. A Notice the public inheritance public virtual double my_func1 int i private virtual double my_func2 int i How about the other.. the functions and force it to be private NO Eventhough the my_func1 is declared under priavte access specifier it can be still called..
|