Re: [Interest] Qt::MakePointer for creating QPointer as std::make_shared for creating std::shared_ptr

2014-10-17 Thread Mikhail Matrosov
raw new. And when we see raw new in the code we now know that created object should be necessarily handled after creation (be assigned with parent or be manually deleted). What do you think on this approach? - Best regards, Mikhail Matrosov 2014-10-17 11:44 GMT+04:00 Koehne Kai : > >

Re: [Interest] Qt::MakePointer for creating QPointer as std::make_shared for creating std::shared_ptr

2014-10-17 Thread Mikhail Matrosov
Ok, I got your point. Thanks to all for the feedback! - Best regards, Mikhail Matrosov 2014-10-17 12:34 GMT+04:00 Bo Thorsen : > Den 17-10-2014 10:32, Mikhail Matrosov skrev: > >> On Friday 17 October 2014 09:00:08 Bo Thorsen wrote: >> >/ Den 17-10-2014 08:42,

Re: [Interest] Qt::MakePointer for creating QPointer as std::make_shared for creating std::shared_ptr

2014-10-17 Thread Mikhail Matrosov
On Friday 17 October 2014 09:00:08 Bo Thorsen wrote: >* Den 17-10-2014 08:42, Reinhardt Behm skrev: *>* > On Thursday 16 October 2014 01:56:46 Mikhail Matrosov wrote: *>* >> Hello! *>* >> *>* >> In modern C++ there is almost no need to use raw *new* and *del

[Interest] Qt::MakePointer for creating QPointer as std::make_shared for creating std::shared_ptr

2014-10-16 Thread Mikhail Matrosov
s is a cross-post of my question from Qt forums: http://qt-project.org/forums/viewthread/48541, where SGaist <http://qt-project.org/mebmer/39728> suggested me to post here. - Best regards, Mikhail Matrosov ___ Interest mailing list Interest@q