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
q23utility.cpp File Reference

(28f56f29bb9b9874c5df41609ef4979d120333a1)

#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 ( && )