▲
-
Header: QProtobufMessageDeleter
-
Since: Qt 6.5
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS Protobuf)
target_link_libraries(mytarget PRIVATE Qt6::Protobuf)
I. Detailed Description▲
This class calls the destructor of a protobuf message using the meta-type system. This class is intended to be used with smart pointers, such as std::unique_ptr.
I-1. See Also▲
See also QProtobufMessagePointer
II. Member Function Documentation▲
II-1. void QProtobufMessageDeleter::operator()(QProtobufMessage *ptr)▲
Destroys the message pointed to by ptr. This is intended for use with smart pointers.
II-1-1. See Also▲
See also QProtobufMessagePointer