QPair Proxy Page

Functions

decltype(auto) qMakePair(T1 &&value1, T2 &&value2)

Function Documentation

[constexpr noexcept] template <typename T1, typename T2> decltype(auto) qMakePair(T1 &&value1, T2 &&value2)

\deprecated

qMakePair forwards its arguments to std::make_pair, and returns the resulting std::pair. It is provided for backwards compatibility. Use std::make_pair directly instead.