+ 1

In case of friend function and inheritance

if I was use a friend function in base class then can I use these friend function in derived class

31st Jan 2018, 4:23 PM
savan Kansagra 😊😊
1 Respuesta
+ 3
Answer is no, you can not. A derived class inherits all base class methods with the following exceptions: - Constructors, destructors - Overloaded operators - The friend functions
4th Feb 2018, 11:32 PM
Dmytro Kovryzhenko
Dmytro  Kovryzhenko - avatar