I have some classes that are derived from boost :: shared_from_this - how can I execute the equivalent in Qt? (without overriding a similar shared_from_this, I would prefer a solution without inheritance)
QEnableSharedFromThis was recently added in Qt and will be in version 5.4.
QEnableSharedFromThis
If you mean the ability to get QSharedPointer from this - there was a function request , but as far as I can see, this is not yet implemented in the official Qt release.
QSharedPointer
this
Source: https://habr.com/ru/post/1439880/More articles:How to share symfony2 session by subdomains - phpLocal variable still exists after function return - cHow to increase the number of bins for continuous color filling for ggplot2 - rHow to use sbt-jslint in Play Framework 2.0.x scala? - scalasublime text 2 how to set an environment variable - sublimetext2What is the advantage of Singleton Design Template - c #"The object does not support the property or method getAttribute" - javascriptRails 3: creating a post model with different types of messages (image, link, text, video). Which legacy should I use? - ruby-on-railsSaving millions of 3D coordinates in MySQL is a bad idea? - mysqlXrm.Page.data is null - javascriptAll Articles