ThePEG  1.8.0
Ptr.h
1 // -*- C++ -*-
2 //
3 // Ptr.h is a part of ThePEG - Toolkit for HEP Event Generation
4 // Copyright (C) 1999-2011 Leif Lonnblad
5 //
6 // ThePEG is licenced under version 2 of the GPL, see COPYING for details.
7 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
8 //
9 #ifndef ThePEG_Ptr_H
10 #define ThePEG_Ptr_H
11 // This is the declaration of the Ptr class.
12 
13 #include "RCPtr.fh"
14 
15 namespace ThePEG {
16 
18 namespace Pointer {
19 
34 template <typename T>
35 struct Ptr {
36 
38  typedef RCPtr<T> pointer;
46  typedef pointer ptr;
54  typedef pointer p;
56  typedef const_pointer cp;
61 
62 };
63 
64 }
65 }
66 
67 #endif /* ThePEG_Ptr_H */