A class with hidden friends documented using unqualified fn syntax. More...
| Header: | #include <testclass.h> |
| TestClass() | |
| void | publicMethod() |
| bool | operator<(const TestClass &lhs, const TestClass &rhs) |
| bool | operator==(const TestClass &lhs, const TestClass &rhs) |
This class tests that hidden friends can be documented using fn commands without requiring the class prefix.
[constexpr noexcept default] TestClass::TestClass()Default-constructs an instance of TestClass.
Public member function.
Hidden friend less-than operator documented without class prefix.
Compares lhs and rhs. Returns true if lhs is less than rhs, false otherwise.
Hidden friend equality operator documented without class prefix.
Compares lhs and rhs for equality. Returns true if they are equal, false otherwise.