7.0 Classes
Some features do not make sense as part of a public abstraction. Rather than making such a feature public, use a friend instead.
Grant access using the most restrictive case first. For example, prefer friend methods over friend classes.
Note that a common C++ idiom uses friend functions (particularly operators) to achieve symmetrical type conversions.
Generated with CERN WebMaker