En esta página

QProtobufMessageDeleter Struct

Llama al destructor de la clase hija de un ` QProtobufMessage`. Más...

Encabezado: #include <QProtobufMessageDeleter>
CMake: find_package(Qt6 REQUIRED COMPONENTS Protobuf)
target_link_libraries(mytarget PRIVATE Qt6::Protobuf)
Desde: Qt 6.5

Funciones públicas

void operator()(QProtobufMessage *ptr) const

Descripción detallada

Esta clase invoca el destructor de un mensaje protobuf utilizando el sistema de metatipos. Está pensada para utilizarse con punteros inteligentes, como std::unique_ptr.

Véase también QProtobufMessagePointer.

Documentación de las funciones miembro

[noexcept] void QProtobufMessageDeleter::operator()(QProtobufMessage *ptr) const

Destruye el mensaje al que apunta ` ptr`. Está pensado para utilizarse con punteros inteligentes.

Véase también QProtobufMessagePointer.

© 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.