Teuchos Package Browser (Single Doxygen Collection) Version of the Day
|RCPNodeThrowDeleter (RCPNode *node)|
|Called with node_!=0 when an exception is thrown. |
|RCPNode *||get () const|
|Releaes the RCPNode pointer before the destructor is called. |
|RCPNodeThrowDeleter (const RCPNodeThrowDeleter &)|
|RCPNodeThrowDeleter &||operator= (const RCPNodeThrowDeleter &)|
Deletes a (non-owning) RCPNode but not it's underlying object in case of a throw.
This class is used in contexts where RCPNodeTracer::addNewRCPNode(...) might thrown an exception for a duplicate node being added. The assumption is that there must already be an owning (or non-owning) RCP object that will delete the underlying object and therefore this class should *not* call delete_obj()!
|Teuchos::RCPNodeThrowDeleter::RCPNodeThrowDeleter||(||const RCPNodeThrowDeleter &||)||
|RCPNode* Teuchos::RCPNodeThrowDeleter::get||(||)|| const
|RCPNodeThrowDeleter& Teuchos::RCPNodeThrowDeleter::operator=||(||const RCPNodeThrowDeleter &||)||