1.11M Members

merits & demerits of friend functions

 
0
 

can anyone tell me the merits & demerits of friend functions?
p.s. help me
kushal

 
1
 

the only time i can think of using friend functions is for operator overloading.. the rest of the time they should be avoided because they violate OOP data encapsulation.

 
0
 

>the rest of the time they should be avoided because they violate OOP data encapsulation.
If this is what you think, then you're not in a position to help. Those who still need to learn shouldn't be teaching.

 
0
 

thanxs sunnypalsingh, it was a great help...

 
-1
 

what r merits & demerits of friend function

 
-2
 

please tell me merits and demerits of friend function

 
0
 

Uh. Follow the links posted already in the thread? (Try not to be an unthinking idiot who is not inclined to read the replies already posted here.)

 
2
 

Uh. Follow the links posted already in the thread? (Try not to be an unthinking idiot who is not inclined to read the replies already posted here.)

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article