Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:15:33

0001 #ifndef HeavyFlavorAnalysis_RecoDecay_BPHGenericPtr_h
0002 #define HeavyFlavorAnalysis_RecoDecay_BPHGenericPtr_h
0003 
0004 #include <memory>
0005 template <class T>
0006 class BPHGenericPtr {
0007 public:
0008   typedef typename std::shared_ptr<T> type;
0009   template <class... Args>
0010   static type create(Args&&... args) {
0011     return std::make_shared<T>(args...);
0012   }
0013 };
0014 
0015 #endif