Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > pros and cons using reference-counter VS reference-link

Thread Tools

pros and cons using reference-counter VS reference-link

Posts: n/a
Other than size, is there any other pro to using reference-counter
instead of reference-link logic in a smart pointer.
See following link:

The above link doesn't give too many details as to which is better in

In my test of the following smart pointer, I find it to be much faster
then the boost::shared_ptr for initialization.

I'm just wondering if there are any other reasons why the
boost::shared_ptr doesn't use reference-link logic instead of

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
threading and multicores, pros and cons Maric Michaud Python 24 02-20-2007 07:47 PM
What deployment setup are production Rails sites using? and pros/cons vasudevram Ruby 1 08-15-2006 05:55 PM
Pros and cons for using https on a logon page? Randall Parker ASP .Net 1 12-04-2005 09:14 PM
Pros and cons "using namespace" BigMan C++ 6 04-07-2005 05:15 PM
PSL pros and cons Kumar Vijay Mishra VHDL 2 10-02-2004 12:34 AM