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
qtclasshelper_p.h File Reference

(b77e78fe2fa524ad1a91c82749bd461ed3b5d977)

#include <QtCore/private/qglobal_p.h>
#include <type_traits>
#include <utility>
Include dependency graph for qtclasshelper_p.h:

Go to the source code of this file.

Functions

template<typename U, typename V>
QT_BEGIN_NAMESPACEq_choose_copy_move (const U &lvalue, V *rvalue)
template<typename T, typename U, typename V>
decltype(auto) q_choose_assign (T &var, const U &lvalue, V *rvalue)
template<typename Container, typename U, typename V>
decltype(auto) q_choose_append (Container &c, const U &lvalue, V *rvalue)

Function Documentation

◆ q_choose_append()

template<typename Container, typename U, typename V>
decltype(auto) q_choose_append ( Container & c,
const U & lvalue,
V * rvalue )

Definition at line 81 of file qtclasshelper_p.h.

◆ q_choose_assign()

template<typename T, typename U, typename V>
decltype(auto) q_choose_assign ( T & var,
const U & lvalue,
V * rvalue )

Definition at line 70 of file qtclasshelper_p.h.

◆ q_choose_copy_move()

template<typename U, typename V>
QT_BEGIN_NAMESPACE U q_choose_copy_move ( const U & lvalue,
V * rvalue )

Definition at line 60 of file qtclasshelper_p.h.