Results 1 to 2 of 2

Thread: QSharedPointer vs Boost::tr1::shared_ptr()

  1. #1
    Join Date
    Feb 2010
    Posts
    20
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default QSharedPointer vs Boost::tr1::shared_ptr()

    Our team is looking to standardize use of smart pointers. In reviewing the documentation, it appears that the Qt and the boost::tr1 implemenation are almost identical.

    If they are identical, then we would probalby go with the tr1 implementation for code portablity. Can anyone share what differences there are?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QSharedPointer vs Boost::tr1::shared_ptr()

    If you are using Qt in your application anyway then portability is not an issue.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Howto use Qt with Boost ?
    By bilgenratte in forum Qt Programming
    Replies: 3
    Last Post: 1st October 2009, 14:12
  2. Replies: 3
    Last Post: 7th August 2009, 13:05
  3. Qt equivalent of boost::ptr_vector?
    By QPlace in forum Qt Programming
    Replies: 2
    Last Post: 20th June 2009, 21:28
  4. Boost libraries
    By steg90 in forum General Programming
    Replies: 26
    Last Post: 13th June 2007, 12:50
  5. boost::assign
    By Sivert in forum General Programming
    Replies: 0
    Last Post: 2nd May 2007, 00:23

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.