QProtobufMessageDeleter Struct
Chiama il distruttore della classe figlia di un oggetto di tipo ` QProtobufMessage`. Altro...
| Intestazione: | #include <QProtobufMessageDeleter> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Protobuf) target_link_libraries(mytarget PRIVATE Qt6::Protobuf) |
| A partire da: | Qt 6.5 |
Funzioni pubbliche
| void | operator()(QProtobufMessage *ptr) const |
Descrizione dettagliata
Questa classe chiama il distruttore di un messaggio protobuf utilizzando il sistema dei metatipi. È pensata per essere utilizzata con puntatori intelligenti, come std::unique_ptr.
Vedi anche QProtobufMessagePointer.
Documentazione delle funzioni membro
[noexcept] void QProtobufMessageDeleter::operator()(QProtobufMessage *ptr) const
Elimina il messaggio a cui punta ` ptr`. Questa funzione è pensata per l'uso con i puntatori intelligenti.
Vedi anche 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.