pub unsafe fn q_make_pair_2_q_cbor_value_ref(
    x: impl CastInto<Ref<QCborValueRef>>,
    y: impl CastInto<Ref<QCborValueRef>>
) -> CppBox<QPairOfQCborValueRefQCborValueRef>
Available on cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.
Expand description

Returns a QPair<T1, T2> that contains value1 and value2. Example:

Calls C++ function: QPair<QCborValueRef, QCborValueRef> qMakePair(const QCborValueRef& x, const QCborValueRef& y).

C++ documentation:

Returns a QPair<T1, T2> that contains value1 and value2. Example:


  QList<QPair<int, double> > list;
  list.append(qMakePair(66, 3.14159));

This is equivalent to QPair<T1, T2>(value1, value2), but usually requires less typing.