“The use of Friend function risks data security in C++”. Comment“The use of Friend function risks data security in C++”. Comment
Answers
Answered by
0
Answer:
There are no particular security risks involved with friend functions. Friend functions are part of the implementation of the class, just like class members; whether a function is a member or a friend doesn't change anything with regards to the security risks (or anything else)
Similar questions