QProtobufMessageDeleter Struct
Llama al destructor de la clase hija de un QProtobufMessage. Más...
| Cabecera: | #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 llama al destructor de un mensaje protobuf usando el sistema de meta-tipos. Está pensada para ser usada 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 apuntado por ptr. Está pensado para su uso 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.