This is the declaration of the PtrTraits class.
The PtrTraits class is used everywhere in Pythia7 to interface to the pointers which are handled. In particular, Pythia7 never uses new or delete but always PtrTraits
::create and PtrTraits
::destroy (to be precise the destroy method is never used since all pointers are assumed to be reference counted or in another way garbage collected). Also Pythia7 always uses dynamic_ptr_cast (rather than the standard dynamic_cast) which in torn calls the PtrTraits
::DynamicCast.
In this file is also defined the specialized std::iterator_traits for the reference counted pointers.
STRUCT
PtrTraits<T
STRUCT
PtrTraits<const