Obsolete Members for QScopedArrayPointer
Los siguientes miembros de la clase QScopedArrayPointer son obsoletos. Se proporcionan para que el código fuente antiguo siga funcionando. Desaconsejamos su uso en código nuevo.
Funciones públicas
(deprecated in 6.2) void | swap(QScopedArrayPointer<T, Cleanup> &other) |
Documentación de funciones miembro
[noexcept, deprecated in 6.2] void QScopedArrayPointer::swap(QScopedArrayPointer<T, Cleanup> &other)
Esta función está obsoleta desde la versión 6.2. Desaconsejamos su uso en código nuevo.
Utilice std::unique_ptr en su lugar; esta función puede permitir que un puntero escape de su ámbito.
Intercambia este puntero con other. Esta operación es muy rápida y nunca falla.
.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.