QDocTests::ExplicitlyDefaultedTest Class

class QDocTests::ExplicitlyDefaultedTest

A test class for explicitly defaulted special member functions. More...

Header: #include <testclass.h>

Public Functions

ExplicitlyDefaultedTest()
ExplicitlyDefaultedTest(const QDocTests::ExplicitlyDefaultedTest &other)
ExplicitlyDefaultedTest(QDocTests::ExplicitlyDefaultedTest &&other)
~ExplicitlyDefaultedTest()
QDocTests::ExplicitlyDefaultedTest &operator=(QDocTests::ExplicitlyDefaultedTest &&other)
QDocTests::ExplicitlyDefaultedTest &operator=(const QDocTests::ExplicitlyDefaultedTest &other)

Detailed Description

This class tests that QDoc correctly detects and displays functions marked with = default.

Member Function Documentation

[constexpr noexcept default] ExplicitlyDefaultedTest::ExplicitlyDefaultedTest()

Default constructor.

[constexpr noexcept default] ExplicitlyDefaultedTest::ExplicitlyDefaultedTest(const QDocTests::ExplicitlyDefaultedTest &other)

Copy constructor.

[constexpr noexcept default] ExplicitlyDefaultedTest::ExplicitlyDefaultedTest(QDocTests::ExplicitlyDefaultedTest &&other)

Move constructor.

[constexpr noexcept default] ExplicitlyDefaultedTest::~ExplicitlyDefaultedTest()

Destructor.

[constexpr noexcept default] QDocTests::ExplicitlyDefaultedTest &ExplicitlyDefaultedTest::operator=(QDocTests::ExplicitlyDefaultedTest &&other)

Move assigns other to this object.

[constexpr noexcept default] QDocTests::ExplicitlyDefaultedTest &ExplicitlyDefaultedTest::operator=(const QDocTests::ExplicitlyDefaultedTest &other)

Copy assigns other to this object.