ATLAS Offline Software
SharedObject.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3  */
4 
6 // SharedObject.h, (c) ATLAS Detector software
8 
9 #ifndef TRKDETDESCRUITLS_SHAREDOBJECT_H
10 #define TRKDETDESCRUITLS_SHAREDOBJECT_H
11 #include <memory>
12 
13 namespace Trk {
14 
23 template<class T>
24 using SharedObject = std::shared_ptr<T>;
25 
26 template<typename T>
27 const auto do_not_delete = [](T*) {};
28 
29 } // end of namespace
30 
31 #endif // TRKDETDESCRUITLS_SHAREDOBJECT_H
Trk::do_not_delete
const auto do_not_delete
Definition: SharedObject.h:27
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::SharedObject
std::shared_ptr< T > SharedObject
Definition: SharedObject.h:24