You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2013/12/16 13:22:45 UTC
[Bug 123861] New: Use shared_ptr's unique() instead of
use_count()==1
https://issues.apache.org/ooo/show_bug.cgi?id=123861
Bug ID: 123861
Issue Type: ENHANCEMENT
Summary: Use shared_ptr's unique() instead of use_count()==1
Product: General
Version: 4.1.0-dev
Hardware: All
OS: All
Status: CONFIRMED
Severity: normal
Priority: P3
Component: code
Assignee: issues@openoffice.apache.org
Reporter: hdu@apache.org
CC: issues@openoffice.apache.org
As there are implementations of shared_pointer that employ mechanisms other
than reference counting the use_count() method may be much more expensive than
the unique() method, so the latter should be preferred.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.