Timeline for C++ to friend or not to friend
Current License: CC BY-SA 3.0
14 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 20, 2021 at 7:13 | comment | added | thomasrutter | In terms of "bypassing the security", they can only be declared to be friends inside the scope of the class definition, which is the same as methods really - and their ability to see private members inside the class is also the same as for methods. So it's for giving functions which aren't called in the same was as a method the ability to see inside objects of a class in the same way as a method. | |
| Sep 8, 2011 at 16:03 | vote | accept | nikhil | ||
| Sep 7, 2011 at 20:53 | answer | added | Gnawme | timeline score: 2 | |
| Sep 5, 2011 at 20:04 | answer | added | anon | timeline score: 1 | |
| Sep 5, 2011 at 5:34 | answer | added | fredoverflow | timeline score: 7 | |
| Sep 4, 2011 at 19:58 | comment | added | Loki Astari | see: programmers.stackexchange.com/questions/99589/… | |
| Sep 4, 2011 at 18:56 | comment | added | nikhil | @all : Awesome answers and comments, This is such a great way to learn, there's no way i'd have learned about friends in such details in a textbook. | |
| Sep 4, 2011 at 18:29 | answer | added | kevin cline | timeline score: 17 | |
| Sep 4, 2011 at 16:54 | answer | added | Emilio Garavaglia | timeline score: 5 | |
| Sep 4, 2011 at 10:26 | answer | added | DeadMG | timeline score: 19 | |
| Sep 4, 2011 at 9:30 | answer | added | tp1 | timeline score: -2 | |
| Sep 4, 2011 at 8:20 | history | edited | Falcon | edited tags | |
| Sep 4, 2011 at 8:12 | answer | added | J.K. | timeline score: 4 | |
| Sep 4, 2011 at 7:57 | history | asked | nikhil | CC BY-SA 3.0 |