Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qwaylandbufferref.cpp File Reference

(811f060c37a58580e0697d0beb34a6f91efeeb41)

#include <QDebug>
#include <QAtomicInt>
#include "qwaylandbufferref.h"
#include "wayland_wrapper/qwlclientbuffer_p.h"
#include <type_traits>
Include dependency graph for qwaylandbufferref.cpp:

Go to the source code of this file.

Classes

class  QWaylandBufferRefPrivate

Macros

#define CHECK1(l, r, op)
#define CHECK2(l, r)
#define CHECK(l, r)

Functions

 CHECK (,)
 CHECK (const,)
 CHECK (const, const)
bool operator== (const QWaylandBufferRef &lhs, const QWaylandBufferRef &rhs)

Macro Definition Documentation

◆ CHECK

#define CHECK ( l,
r )
Value:
CHECK2(l, r); \
CHECK2(l &, r); \
CHECK2(l &, r &); \
CHECK2(l, r &)
#define CHECK2(cvref_in, cvref_out)
Definition q23utility.cpp:8
GLboolean r

Definition at line 23 of file qwaylandbufferref.cpp.

◆ CHECK1

#define CHECK1 ( l,
r,
op )
Value:
static_assert(std::is_same_v< \
bool, \
decltype(std::declval<QWaylandBufferRef l >() op \
std::declval<QWaylandBufferRef r >()) \
>)

Definition at line 14 of file qwaylandbufferref.cpp.

◆ CHECK2

#define CHECK2 ( l,
r )
Value:
CHECK1(l, r, ==); \
CHECK1(l, r, !=)
#define CHECK1(Obj, cvref)

Definition at line 20 of file qwaylandbufferref.cpp.

Function Documentation

◆ CHECK() [1/3]

CHECK ( )

◆ CHECK() [2/3]

CHECK ( const ,
const  )

◆ CHECK() [3/3]

CHECK ( const )

◆ operator==()

bool operator== ( const QWaylandBufferRef & lhs,
const QWaylandBufferRef & rhs )
noexcept

Definition at line 122 of file qwaylandbufferref.cpp.