ATLAS Offline Software
Classes | Public Member Functions | Public Attributes | List of all members
ActsTrk::NoDeletePtr< Obj > Class Template Reference

#include <NoDeletePtr.h>

Inheritance diagram for ActsTrk::NoDeletePtr< Obj >:
Collaboration diagram for ActsTrk::NoDeletePtr< Obj >:

Classes

struct  Deleter
 

Public Member Functions

 NoDeletePtr (Obj *ptr)
 
T * operator-> ()
 STL member. More...
 

Public Attributes

ptr
 STL member. More...
 

Detailed Description

template<class Obj>
class ActsTrk::NoDeletePtr< Obj >

Definition at line 17 of file NoDeletePtr.h.

Constructor & Destructor Documentation

◆ NoDeletePtr()

template<class Obj >
ActsTrk::NoDeletePtr< Obj >::NoDeletePtr ( Obj *  ptr)
inline

Definition at line 22 of file NoDeletePtr.h.

22  :
23  std::shared_ptr<Obj>(ptr, Deleter{}){
24  }

Member Function Documentation

◆ operator->()

T* std::shared_ptr< T >::operator->
inherited

STL member.

Member Data Documentation

◆ ptr

T std::shared_ptr< T >::ptr
inherited

STL member.


The documentation for this class was generated from the following file: