A class with friend declaration and hidden friend. More...
| Header: | #include <friendclass.h> |
| FriendClass() | |
| void | publicMethod() |
| bool | operator==(const FriendClass &lhs, const FriendClass &rhs) |
This class has both a friend declaration (without inline definition) and a hidden friend (with inline definition).
The friend declaration for operator!= should NOT create a documentation node under the class - only the hidden friend operator== should appear.
[constexpr noexcept default] FriendClass::FriendClass()Default constructor.
Public member function.
Hidden friend equality operator.
This hidden friend (defined inline) should appear in documentation. lhs Left-hand side operand. rhs Right-hand side operand. Returns true if objects are equal.