Hi Daniel, I agree with most of your choices, and yes there will be cases where a change in QT is required. What I did not fully understand is why you did not go the whole way and used unique_ptr also in QObject, as Vitaly suggested: your invariant is either owned by a unique_ptr or a QObject, if QObject uses unique_ptr then it reduces to unique_ptr ownership. Do you get too much boilerplate, or need to continuously get the raw pointer? Maybe you told already, and I missed it, but that could also show the issues of using unique_ptr. To me it seems that it makes ownership in our API clearer, and that is a win, but André’s comments I think show his concern with bloating up code and conceptual burden for little or no gain. _______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development
- Re: [Development] The future of sma... André Somers
- Re: [Development] The future of sma... Иван Комиссаров
- Re: [Development] The future of smart pointe... Allan Sandfeld Jensen
- Re: [Development] The future of smart p... Vitaly Fanaskov
- [Development] The future of smart ... Eric Lemanisser
- Re: [Development] The future of... Vitaly Fanaskov
- Re: [Development] The futur... Volker Hilsheimer
- Re: [Development] The ... Daniel Teske
- Re: [Development] ... Volker Hilsheimer
- Re: [Development] ... Daniel Teske
- Re: [Development] ... Fawzi Mohamed
- Re: [Development] ... Vitaly Fanaskov
- Re: [Development] ... Konstantin Shegunov
- Re: [Development] ... Vitaly Fanaskov
- Re: [Development] ... Daniel Teske
- Re: [Development] ... Konstantin Shegunov
- Re: [Development] ... Volker Hilsheimer
- Re: [Development] ... Ville Voutilainen
- Re: [Development] ... Volker Hilsheimer
- Re: [Development] ... Ville Voutilainen
- Re: [Development] ... André Pönitz