QDocTests::ExplicitlyDeletedTest Class

class QDocTests::ExplicitlyDeletedTest

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

Header: #include <testclass.h>

Public Functions

ExplicitlyDeletedTest()
ExplicitlyDeletedTest(const QDocTests::ExplicitlyDeletedTest &other)
ExplicitlyDeletedTest(QDocTests::ExplicitlyDeletedTest &&other)
QDocTests::ExplicitlyDeletedTest &operator=(QDocTests::ExplicitlyDeletedTest &&other)
QDocTests::ExplicitlyDeletedTest &operator=(const QDocTests::ExplicitlyDeletedTest &other)

Detailed Description

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

Member Function Documentation

[constexpr noexcept default] ExplicitlyDeletedTest::ExplicitlyDeletedTest()

Default constructor.

[delete] ExplicitlyDeletedTest::ExplicitlyDeletedTest(const QDocTests::ExplicitlyDeletedTest &other)

Copy constructor (deleted).

[delete] ExplicitlyDeletedTest::ExplicitlyDeletedTest(QDocTests::ExplicitlyDeletedTest &&other)

Move constructor (deleted).

[delete] QDocTests::ExplicitlyDeletedTest &ExplicitlyDeletedTest::operator=(QDocTests::ExplicitlyDeletedTest &&other)

Move assigns other to this object (deleted).

[delete] QDocTests::ExplicitlyDeletedTest &ExplicitlyDeletedTest::operator=(const QDocTests::ExplicitlyDeletedTest &other)

Copy assigns other to this object (deleted).