+ 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
1 Resposta
+ 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