ROOT  6.06/09
Reference Guide
Classes | Namespaces | Functions
TCoopPtr.h File Reference
#include <memory>
#include <type_traits>
+ Include dependency graph for TCoopPtr.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ROOT::TCoopPtr< POINTEE >
 Several pointers point to the same object, any of them can delete the object, setting all of them to nullptr. More...
 
class  ROOT::Internal::TCoopPtrTypeErasedBase
 To handle polymorphic TCoopPtr<POINTEE>s, convert them to TCoopPtrTypeErased<POINTEE>s and access them through their common base TCoopPtrTypeErasedBase. More...
 
class  ROOT::Internal::TCoopPtrTypeErased< POINTEE >
 Type-specific derived implementation of a TCoopPtrTypeErasedBase, to invoke the destructor of the TCoopPtr<POINTEE> upon destruction of the TCoopPtrTypeErased. More...
 

Namespaces

 ROOT
 Namespace for new ROOT classes and functions.
 
 ROOT::Internal
 

Functions

template<class POINTEE , class... ARGS>
TCoopPtr< POINTEE > ROOT::MakeCoop (ARGS &&...args)
 Create an object of type POINTEE on the heap, and build a TCoopPtr for it. More...
 
template<class POINTEE >
TCoopPtr< POINTEE > ROOT::MakeCoop (POINTEE &&obj)
 Move an object into a TCoopPtr. More...