to be declared public in the 
                  
                  
                  derived class. Does this conflict with subtyping principles?
                  
                  
                
No. But it is possible to implement similar method in the derived class and re-call the base class method
friend is your friend
Обсуждают сегодня