TestClass Class

A class with hidden friends documented using unqualified fn syntax. More...

Header: #include <testclass.h>

Public Functions

TestClass()
void publicMethod()
bool operator<(const TestClass &lhs, const TestClass &rhs)
bool operator==(const TestClass &lhs, const TestClass &rhs)

Detailed Description

This class tests that hidden friends can be documented using fn commands without requiring the class prefix.

Member Function Documentation

[constexpr noexcept default] TestClass::TestClass()

Default-constructs an instance of TestClass.

void TestClass::publicMethod()

Public member function.

Related Non-Members

bool operator<(const TestClass &lhs, const TestClass &rhs)

Hidden friend less-than operator documented without class prefix.

Compares lhs and rhs. Returns true if lhs is less than rhs, false otherwise.

bool operator==(const TestClass &lhs, const TestClass &rhs)

Hidden friend equality operator documented without class prefix.

Compares lhs and rhs for equality. Returns true if they are equal, false otherwise.