QProtobufMessageDeleter Struct
Calls the destructor of the child class of a QProtobufMessage. More...
| Header: | #include <QProtobufMessageDeleter> |
Public Functions
| void | operator()(QProtobufMessage *ptr) |
Detailed Description
\inmoduleQtProtobuf
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.
See also QProtobufMessagePointer.
Member Function Documentation
[noexcept] void QProtobufMessageDeleter::operator()(QProtobufMessage *ptr)
Destroys the message pointed to by ptr. This is intended for use with smart pointers.
See also QProtobufMessagePointer.