Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
q23utility.cpp File Reference
#include <QtCore/q23utility.h>
+ Include dependency graph for q23utility.cpp:

Go to the source code of this file.

Macros

#define CHECK2(cvref_in, cvref_out)
 
#define CHECK(cvref)   CHECK2(cvref, cvref)
 

Functions

 CHECK2 (, &&)
 
CHECK & CHECK (&&);CHECK2(const, const &&
 
 CHECK (const &)
 
 CHECK (const &&)
 

Macro Definition Documentation

◆ CHECK

#define CHECK (   cvref)    CHECK2(cvref, cvref)

Definition at line 14 of file q23utility.cpp.

◆ CHECK2

#define CHECK2 (   cvref_in,
  cvref_out 
)
Value:
static_assert(std::is_same_v< \
decltype(q23::forward_like<int cvref_in >(std::declval<long&>())), \
long cvref_out \
>, "oops: cvref '" #cvref_in "' doesn't work") \
/* end */

Definition at line 8 of file q23utility.cpp.

Function Documentation

◆ CHECK() [1/3]

CHECK & CHECK ( &&  ) const &&

◆ CHECK() [2/3]

CHECK ( const &&  )

◆ CHECK() [3/3]

CHECK ( const &  )

◆ CHECK2()

CHECK2 ( &&  )