Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2007-02-23 05:29:06


Feature Requests item #1666951, was opened at 2007-02-23 02:29
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=357586&aid=1666951&group_id=7586

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: reset() for intrusive_ptr

Initial Comment:
I would like to see

intrusive_ptr<T>::reset()

to release the contained pointer (if any), and set it to zero, i.e. with same effect (at least I *think* it should the same effect ;)) as

operator=(intrusive_ptr<T>())

Reason: interface consistency with shared_ptr, scoped_ptr

Or is there any reason for not having it?

peterchen

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=357586&aid=1666951&group_id=7586

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk