CbmRoot
Loading...
Searching...
No Matches
CbmLitMemoryManagment.h
Go to the documentation of this file.
1
/* Copyright (C) 2008-2011 GSI/JINR-LIT, Darmstadt/Dubna
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Andrey Lebedev [committer] */
4
5
#ifndef CBMLITMEMORYMANAGMENT_H_
6
#define CBMLITMEMORYMANAGMENT_H_
7
8
9
class
DeleteObject
{
10
public
:
11
template
<
typename
T>
12
void
operator()
(
const
T* ptr)
const
13
{
14
delete
ptr;
15
}
16
};
17
18
19
#endif
/*CBMLITMEMORYMANAGMENT_H_*/
DeleteObject
Definition
CbmLitMemoryManagment.h:9
DeleteObject::operator()
void operator()(const T *ptr) const
Definition
CbmLitMemoryManagment.h:12
reco
littrack
std
utils
CbmLitMemoryManagment.h
Generated on Sun Dec 22 2024 23:04:17 for CbmRoot by
1.12.0