ATLAS Offline Software
Loading...
Searching...
No Matches
NoDeletePtr.h
Go to the documentation of this file.
1
2/*
3 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4*/
5#ifndef ActsGeoUtils_NODELETEPTR_H
6#define ActsGeoUtils_NODELETEPTR_H
7
8#include <memory>
9
14namespace ActsTrk {
15
16 template<class Obj>
17 class NoDeletePtr: public std::shared_ptr<Obj> {
18 public:
19 struct Deleter {
20 void operator()(Obj*) const{}
21 };
22 NoDeletePtr(Obj* ptr):
23 std::shared_ptr<Obj>(ptr, Deleter{}){
24 }
25 };
26}
27#endif
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
STL namespace.
void operator()(Obj *) const
Definition NoDeletePtr.h:20