#include "CdbBase/CdbCommon.hh"#include "CdbBase/CdbCPtrBase.hh"#include "CdbBase/CdbDoNotClosePolicy.hh"#include <iostream>Go to the source code of this file.
Compounds | |
| class | CdbCPtr |
| Smart counted pointer class supporting the automatic close policy. More... | |
| class | Counter |
| The nested class representing an internal counter. More... | |
Functions | |
| template<class P, class CLOSE_POLICY> bool | operator== (const P *ptr, const CdbCPtr< P, CLOSE_POLICY > &thePtr) |
| The missing equality operator for the smart pointer. | |
| template<class P, class CLOSE_POLICY> bool | operator!= (const P *ptr, const CdbCPtr< P, CLOSE_POLICY > &thePtr) |
| The missing non-equal operator for the smart pointer. | |
|
||||||||||||||||
|
The missing non-equal operator for the smart pointer. See the previously defined global equaty operator Definition at line 322 of file CdbCPtr.hh. |
|
||||||||||||||||
|
The missing equality operator for the smart pointer. This operator allows to compare a smart pointer with a regular one while having the regular one on the left hand side of the comparision expression. This makes possible the following use case:
CdbXyzPtr thePtr = ...;
if( 0 == thePtr ) ...
Definition at line 310 of file CdbCPtr.hh. |
1.3-rc3