pub unsafe fn q_make_pair_2_q_cbor_value(
    x: impl CastInto<Ref<QCborValue>>,
    y: impl CastInto<Ref<QCborValue>>
) -> CppBox<QPairOfQCborValueQCborValue>
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<QCborValue, QCborValue> qMakePair(const QCborValue& x, const QCborValue& 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.