IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Detailed Description

Calls the destructor of the child class of a QProtobufMessage.

This struct was introduced in Qt 6.5.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

  • Header: QProtobufMessageDeleter

  • Since: Qt 6.5

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS Protobuf)

    target_link_libraries(mytarget PRIVATE Qt6::Protobuf)

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.

See Also

Member Function Documentation

 

void QProtobufMessageDeleter::operator()(QProtobufMessage *ptr)

Destroys the message pointed to by ptr. This is intended for use with smart pointers.

See Also

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+