Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qfunctionaltools_impl.cpp File Reference

(cd39a469a9de29f5cb01c42f75eb8f840cc65430)

#include <QtCore/qfunctionaltools_impl.h>
+ Include dependency graph for qfunctionaltools_impl.cpp:

Go to the source code of this file.

Classes

struct  QtPrivate::_testing::empty
 
struct  QtPrivate::_testing::final
 

Namespaces

namespace  QtPrivate
 \macro QT_NO_KEYWORDS >
 
namespace  QtPrivate::_testing
 

Macros

#define FOR_EACH_CVREF(op)
 
#define CHECK1(Obj, cvref)
 
#define CHECK(cvref)
 

Macro Definition Documentation

◆ CHECK

#define CHECK ( cvref)
Value:
CHECK1(empty, cvref) \
CHECK1(final, cvref) \
CHECK1(int, cvref) \
/* end */
#define CHECK1(Obj, cvref)

Definition at line 32 of file qfunctionaltools_impl.cpp.

◆ CHECK1

#define CHECK1 ( Obj,
cvref )
Value:
static_assert(std::is_same_v<decltype(std::declval<CompactStorage< Obj > cvref>().object()), \
Obj cvref>);

Definition at line 29 of file qfunctionaltools_impl.cpp.

◆ FOR_EACH_CVREF

#define FOR_EACH_CVREF ( op)
Value:
op(&) \
op(const &) \
op(&&) \
op(const &&) \
/* end */

Definition at line 13 of file qfunctionaltools_impl.cpp.