[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CppFriend
friend
C++ keyword. In a class, another class can be declared a friend. This means that the friend class can access all the class its member variables and functions as if they were public.
friend is not supported in C.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CppFriend
friend
C++ keyword. In a class, another class can be declared a friend. This means that the friend class can access all the class its member variables and functions as if they were public.
friend is not supported in C.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
